No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
An enhanced zero-configuration in-place replacement for the now decomissioned built-in jekyll-paginate gem. This pagination gem offers full backwards compatability as well as a slew of new frequently requested features with minimal additional site and page configuration. Optional features include auto-generation of paginated collection, tag and category pages.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 5.4
~> 10.4

Runtime

>= 3.0, < 5.0
 Project Readme

Jekyll::Paginate V2

⚠️ Please note that this plugin is NOT supported by GitHub pages. Here is a list of all plugins supported. However you can follow this GitHub guide to enable it or by using Travis CI. GitLab supposedly supports any plugin.

Pagination gem built specially for Jekyll 3, and newer, that is fully backwards compatible and serves as an enhanced replacement for the previously built-in jekyll-paginate gem. View it on rubygems.org.

Code Shelter Gem Join the chat at https://gitter.im/jekyll-paginate-v2/Lobby Build Status Code Climate security Gem

Reach me at the project issues section or via email at jekyll@sverrirs.com, you can also get in touch on the project's Gitter chat room.

  • Installation
  • Example Sites
  • Pagination Generator
  • Auto-Pages
  • Issues / to-be-completed
  • How to Contribute

"Be excellent to each other"

❤️

Installation

gem install jekyll-paginate-v2

Update your _config.yml and pages.

Although fully backwards compatible, to enable the new features this gem needs slightly extended site yml configuration and miniscule additional new front-matter for the pages to paginate on.

Now you're ready to run jekyll serve and your paginated files should be generated.

Please see the Examples for tips and tricks on how to configure the pagination logic.

Pagination Generator

The Pagination Generator forms the core of the pagination logic. Calculates and generates the pagination pages.

Auto Pages

The Auto-Pages is an optional feature that auto-magically generates paginated pages for all your tags, categories and collections.

Contributing

Although this project is small it has a code of conduct that I hope everyone will do their best to follow when contributing to any aspects of this project. Be it discussions, issue reporting, documentation or programming.

If you don't want to open issues here on Github, send me your feedback by email at jekyll@sverrirs.com.

  1. Fork it ( https://github.com/sverrirs/jekyll-paginate-v2/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Run the unit tests (rake)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Build the gem locally (gem build jekyll-paginate-v2.gemspec)
  6. Test and verify the gem locally (gem install ./jekyll-paginate-v2-x.x.x.gem)
  7. Push to the branch (git push origin my-new-feature)
  8. Create new Pull Request

Note: This project uses semantic versioning.

The code was based on the original design of jekyll-paginate and features were sourced from discussions such as #27 (thanks Günter Kits).