Jekyll Paginate V2 screenshot

Jekyll Paginate V2

Author Avatar Theme by Sverrirs
Updated: 20 Nov 2022
526 Stars

Pagination Generator for Jekyll 3 (enhanced replacement for the old built-in jekyll-paginate gem)

Overview:

Jekyll::Paginate V2 is a pagination gem built specifically for Jekyll 3 and newer versions. It serves as an enhanced replacement for the previously built-in jekyll-paginate gem. Please note that this plugin is not supported by GitHub pages, but it can be enabled by following the GitHub guide or using Travis CI. GitLab supposedly supports any plugin. The gem is available on rubygems.org and can be used to generate paginated files for your Jekyll site.

Features:

  • Installation: Update your _config.yml and pages to enable the new features of the gem.
  • Pagination Generator: The core of the pagination logic, it calculates and generates the pagination pages.
  • Auto-Pages: An optional feature that automatically generates paginated pages for tags, categories, and collections.

Installation:

To install the Jekyll::Paginate V2 gem, follow these steps:

  1. Update your _config.yml file and pages by adding/configuring the necessary settings for the gem.
  2. Run jekyll serve to generate the paginated files.
  3. Refer to the Examples section for tips and tricks on configuring the pagination logic.

Summary:

Jekyll::Paginate V2 is a pagination gem for Jekyll that enhances the functionality of the previously built-in jekyll-paginate gem. It offers features such as an advanced pagination generator and auto-generation of paginated pages for tags, categories, and collections. Although not supported by GitHub pages, the gem can be enabled using the GitHub guide or Travis CI. To install the gem, update your _config.yml file and pages, and run jekyll serve.