Website/node_modules/metalsmith-drafts
2015-12-02 18:21:44 -05:00
..
lib Initial website 2015-12-02 18:21:44 -05:00
test Initial website 2015-12-02 18:21:44 -05:00
.npmignore Initial website 2015-12-02 18:21:44 -05:00
History.md Initial website 2015-12-02 18:21:44 -05:00
Makefile Initial website 2015-12-02 18:21:44 -05:00
package.json Initial website 2015-12-02 18:21:44 -05:00
Readme.md Initial website 2015-12-02 18:21:44 -05:00

metalsmith-drafts

A metalsmith plugin to hide drafts.

Installation

$ npm install metalsmith-drafts

CLI Usage

Install via npm and then add the metalsmith-drafts key to your metalsmith.json plugins, like so:

{
  "plugins": {
    "metalsmith-drafts": true
  }
}

Javascript Usage

Pass the plugin to Metalsmith#use:

var drafts = require('metalsmith-drafts');

metalsmith.use(drafts());

License

MIT