Skip to content

Just a simple navigation array to use in your templates to loop through.

License

Notifications You must be signed in to change notification settings

eisisig/metalsmith-simple-navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Just a simple navigation array to use in your templates to loop through.

Resources

License

Stars

Watchers

Forks

Packages

No packages published