2 posts by Alistair Deneys
Eleventy Nested Pagination
Eleventy (the cool static site generator) has a great feature called Pagination which allows you to iterate over a list of things in chunks and produce multiple output files. As I was migrating this very site over to Eleventy, I found I needed to perform a double pagination. This is when, during paginating over a list of blog post years, I found I wanted to also paginate again over the posts in those years, so I could have at most 20 posts on a single list page.
Apr 17, 2024
by Alistair Deneys (2 posts) · Website
Categories: CollectionsHow to...Pagination
Eleventy Migration
Back in 2018 I migrated my blog from WordPress to Hexo. Hexo is a static site generator running on Node.js. At the time I chose Hexo because it allowed me complete control over the structure of the resulting website, plus I could override and tweak the markup of the resulting pages. Hexo is a fairly fully-featured static site generator. It has a lot of functionality built into it to cover a lot of...
Jan 13, 2024
by Alistair Deneys (2 posts) · Website
Categories: Migrating to EleventyWhy Eleventy?