/verb-front-matter

Verb middleware. Parse front matter and pass data to templates.

Primary LanguageJavaScriptMIT LicenseMIT

verb-front-matter NPM version

Verb middleware for processing front matter and adding data to the context.

Heads up! front-matter is handled in verb by default, this module can be used separately if you want to disable the defaults.

Install with npm

npm i verb-front-matter --save

Usage

verb.use(require('verb-front-matter'));

Verb uses gray-matter, visit that project to see all available front-matter options.

Run tests

Install dev dependencies:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on January 20, 2015.