diff --git a/Readme.md b/Readme.md index 8642417..9da210d 100644 --- a/Readme.md +++ b/Readme.md @@ -19,9 +19,11 @@ } ``` + Then in your files YAML front-matter add `draft: true`. + ## Javascript Usage - Pass the plugin to `Metalsmith#use`: + Pass the plugin to `Metalsmith#use`, like so: ```js var drafts = require('metalsmith-drafts'); @@ -29,6 +31,8 @@ var drafts = require('metalsmith-drafts'); metalsmith.use(drafts()); ``` + Then in your files YAML front-matter add `draft: true`. + ## License - MIT \ No newline at end of file + MIT