GithubHelp home page GithubHelp logo

mmistakes / jekyll-paginate-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sverrirs/jekyll-paginate-v2

1.0 1.0 1.0 610 KB

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

Home Page: https://rubygems.org/gems/jekyll-paginate-v2

License: MIT License

Ruby 99.74% Shell 0.26%

jekyll-paginate-v2's Introduction

Jekyll::Paginate V2

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 [email protected], you can also get in touch on the project's Gitter chat room.

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

"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.

⚠️ Please note that this plugin is currently NOT supported by GitHub pages. Here is a list of all plugins supported. There is work underway to try to get it added it but until then please follow this GitHub guide to enable it or use Travis CI.

GitLab supposedly supports any plugin.

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.

Issues / to-be-completed

  • Unit-tests do not cover all critical code paths
  • No integration tests yet #2
  • Exclude filter not implemented #6
  • Elegant way of collecting and printing debug information during pagination

I welcome all testers and people willing to give me feedback and code reviews.

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 [email protected].

  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.

jekyll-paginate-v2's People

Contributors

alzeih avatar ashmaroli avatar fertapric avatar herczegzsolt avatar ibrado avatar jaredcwhite avatar nickmccurdy avatar ollymid avatar paulserraino avatar pserwylo avatar sverrirs avatar vanam avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

karateke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.