Pagination in Zola

I've been experimenting with Zola, a static site generator. The documentation for pagination is pretty good from an anatomical perspective, but I thought there was room for something a little more 'recipe' like. So, this is how I personally implemented pagination on my Zola site, aiming to demonstrate the nuts and bolts in action. This demonstration will be correct for zola binaries compatible with 0.12.0.