A Metalsmith plugin that creates a simple array of files to use for navigation
$ npm install metalsmith-simple-navigation
Install via npm and then add the metalsmith-excerpts
key to your metalsmith.json
plugin, like so:
{
"plugins": {
"metalsmith-simple-navigation": true
}
}
var simpleNav = require('metalsmith-simple-navigation');
metalsmith.use(simpleNav());
Array is attached to metalsmith's metadata and the default name for it is nav
MIT