1.0.1 • Published 9 years ago

metalsmith-simple-navigation v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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