jekyll-paginate-v2

By sverrirs

Pagination gem built specially for Jekyll 3 and newer that is fully backwards compatable and serves as an enhanced replacement for the previously built-in jekyll-paginate gem.

To install, add this to your Gemfile:

gem "jekyll-paginate-v2"

and run bundle install. To use, run Jekyll with bundle exec preceding it:

$ bundle exec jekyll build
$ bundle exec jekyll serve

Source code