metalsmith-drafts

A metalsmith plugin to hide drafts.

npm install metalsmith-drafts
4 downloads in the last day
31 downloads in the last week
154 downloads in the last month

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

npm loves you