- 
  Page {{ page.curpage }} of {{ page.pages }}, 
  {{ page.list_for }} {{ page.min_rec }} to {{ page.max_rec }}
  {% for item in page.list %}
    
- 
      {{ item.title }}{{ item.excerpt }} More... 
  {% endfor %}
Jekyll's built-in paginator sucks! You are forced to use index.html to paginate only posts, for reasons I don't understand, and you have to work-around with what I feel is too much restriction; so this repo contains a plugin that fixes that, or attempts to (would be great to contrib to mainline). You can list a specific collection, or all posts, and pagination works seamlessly supporting some edge use-cases I felt the paginator did not address.
download the _plugins/listing_pages.rb and place in your _plugins folder
In the page(s) you wish to use include the relevant frontmatter (changing as required) list_for: posts list_limit: 2
Include the relevant liquid to list your objects
```liquid
N.b.: If you specify a
list_forthat does not exist, or is invalid, this will error. As the intended use-case for this is to be staged to a site this is fine for production, however do not put this inside a Jekyll generator online, as if you screw up the front-matter your site may experience downtime.
[1,2,3,4,5] page 1, 2 & 3
[2,3,4,5,6] page 4
[95,96,97,98,99] page 99