paginate
The paginate
plugin provides the ability to break a large list of posts into a paginated version. When applied to a single template page, this plugin will generate as many sibling pages as needed. For example, `posts.html` as well as `posts-2.html`, `posts-3.html`, etc. It will also generate `posts-all.html`, which is the page that would be generated without enabling this plugin at all.
Installation
In an existing ergo project folder:
ergo plugin install paginate
Options
You may specify the following options in your config.ergo.js
:
default_fields: {
paginate_count:20, // paginate 20 items per page (default is 10)
paginate_nextprev: true, // show the previous and next buttons (default is true)
...
}
The following themes fully support this plugin: