22 Feb 2016

This article will take less than 1 minute to read.

Jekyll comes with simple pagination which has only Newer and Older links. I wanted a little bit more, now pagination shows at least five pages, with current in the middle. On the larger screens there are also first and last page links. Newer and Older links are, of course, still there.

Check the gist with the code.

You can see it at the bottom of this website, or just check the screenshot below:

Custom Jekyll pagination

Category
Jekyll