Skip to content

marighella/jekyll-paginate-by

Repository files navigation

Jekyll::PaginateBy

Custom pagination generator for Jekyll.

Build Status

Installation

Add this line to your application's Gemfile:

gem 'jekyll-paginate-by'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-paginate-by

Once the gem is installed on your system, Jekyll will auto-require it. Just set the following configuration

Optional settings

Add to _config.yml:

paginate: true paginate_by: options: permalink: "teste" filters: - category: per_page: 20 max_pages: 10 permalink: "categories/$" template: "_templates/list" page_link: "page:num" exclude: - category: "excluded" - tags: is_tag: true per_page: 20 max_pages: 10 permalink: "tags/$" template: "_templates/list" page_link: "page:num" - all: exclude: - category: "excluded" - category: only: - category: "category_a"

Contributing

  1. Fork it ( http://github.com/marighella/jekyll-paginate/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published