metalsmith-simple-navigation
v1.0.1
Published
Simple navigation array of documents and their filenames
Downloads
1
Readme
metalsmith-simple-navigation
A Metalsmith plugin that creates a simple array of files to use for navigation
Installation
$ npm install metalsmith-simple-navigation
CLI Usage
Install via npm and then add the metalsmith-excerpts
key to your metalsmith.json
plugin, like so:
{
"plugins": {
"metalsmith-simple-navigation": true
}
}
Javascript Usage
var simpleNav = require('metalsmith-simple-navigation');
metalsmith.use(simpleNav());
Usage
Array is attached to metalsmith's metadata and the default name for it is nav
License
MIT