assemble-index-json
v0.0.5
Published
index generator for assemble
Downloads
1
Readme
assemble-index-json
assemble index generator
Install
$ npm i --save-dev assemble-index-json
Register
assemble: {
options: {
plugins: ['assemble-index-json']
}
}
options
assemble: {
options: {
plugins: ['assemble-index-json'],
indexJson: {
jsonPath: './index.json',
availables: [
'title'
],
excludes: ['./src/pages/index.hbs']
}
}
}
jsonPath
Path to a json is generated from this plugin.
availables
Data list that you want to retrieve from page data.
excludes
Glob patterns of src files that you want to exclude from index.
License
MIT