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:


ergo-portfolio

Portfolio theme for ergo-cms

Posted by craig on 15 Feb 2017

future-imperfect

'Future Imperfect' theme by HTML5 Up

Posted by craig on 4 Feb 2017

clean-blog

Start Bootstrap's 'Clean Blog' theme

Posted by craig on 4 Feb 2017

ergo-simple

Default theme for ergo-cms sites

Posted by craig on 4 Feb 2017