# Custom Jekyll pagination

DevFeed: [Custom Jekyll pagination](<https://devfeed.tech/articles/custom-jekyll-pagination-37260.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/custom-jekyll-pagination/>)

Author: Stanko

Published: 2016-02-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Jekyll](<https://devfeed.tech/topics/jekyll.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [custom](<https://devfeed.tech/tags/custom.md>), [gist](<https://devfeed.tech/tags/gist.md>), [jekyll](<https://devfeed.tech/tags/jekyll.md>), [pagination](<https://devfeed.tech/tags/pagination.md>)

## AI overview

This tutorial describes customizing Jekyll pagination to show at least five page links with the current page centered, plus first and last page links on larger screens while retaining Newer and Older links. It points readers to the implementation code and a screenshot.

## Source excerpt

Please note that I'm not using Jekyll anymore, so this post might be outdated. 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: