0.1.0 • Published 9 years ago
diz-plugin-collection-page-generator v0.1.0
Collection Page Generator
A Diz plugin that create a list page
Install
$ yarn add -D diz-plugin-collection-page-generator
$ npm i -D diz-plugin-collection-page-generatorUsage
...,
plugins: [
new CollectionPageGenerator({
target: 'categories',
pager: 5
}),
new CollectionPageGenerator({
target: 'tags',
pager: 10
})
],
...Options
type(def:'LIST')
Spwcify the contents typetarget(def:'')
Specify the keys to collect in each front matter datapager(def:20)
Specify how many items to display per pagetitle(def:)
todo...description(def:)
todo...
License
MIT