npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

assemble-contrib-drafts

0.1.2

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:4
$ npm install assemble-contrib-drafts
DailyWeeklyMonthlyYearly

assemble-contrib-drafts NPM version

Assemble plugin (v0.5.0) for preventing drafts from being built.

Install

Install with npm:

npm i assemble-contrib-drafts --save-dev

Usage

First, register the plugin with Assemble:

options: {
  plugins: ['assemble-drafts']
}

To prevent a page from rendering, either defined published: false or drafts: true in the front matter of the page:

---
published: false
title: My Unfinished Blog Post
---

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on April 23, 2014.