I've just implemented pagination with this plugin (see here: https://github.com/ismay/ismaywolff.nl/commit/df879d291f27f198fa2bb757a79fe5c587c8b779), and it works really well. Only one thing that it does is a minor inconvenience: it requires me to pass a layout or template option, when in fact I'm using the pageContents option with in-place (so I don't need layouts or templates).
I've just implemented pagination with this plugin (see here: https://github.com/ismay/ismaywolff.nl/commit/df879d291f27f198fa2bb757a79fe5c587c8b779), and it works really well. Only one thing that it does is a minor inconvenience: it requires me to pass a
layout
ortemplate
option, when in fact I'm using thepageContents
option with in-place (so I don't need layouts or templates).I've now set
layout
to a nonsense string ("none"
) to silence the error (see here: https://github.com/ismay/ismaywolff.nl/blob/master/metalsmith.js#L82), but it would be nice if it was allowed to omit bothlayout
andtemplate
whenpageContents
has been set.