As a follow-up to issue #17 (which is fixed IMO on the technical side, but still shows that doc updates would be useful), I’m proposing a rewrite of the "Usage" section of the README.
Notable changes:
Split usage in two: content setup and theme development
In the content setup, adding a full example for making a blog-like page collection
Previous doc had the pagination:true config at the page.header.pagination level. It seems that the pagination plugin expects it at the page.header.content.pagination level.
Added a sub-section about including the partials/pagination.html.twig template (when developing your own blog.html.twig template or equivalent).
Mostly tried to write what would have helped me fumble a bit less as a newcomer to Grav and to this plugin. :)
As a follow-up to issue #17 (which is fixed IMO on the technical side, but still shows that doc updates would be useful), I’m proposing a rewrite of the "Usage" section of the README.
Notable changes:
pagination:true
config at thepage.header.pagination
level. It seems that the pagination plugin expects it at thepage.header.content.pagination
level.partials/pagination.html.twig
template (when developing your ownblog.html.twig
template or equivalent).