0.1.3 • Published 10 years ago

verb-tag-glob v0.1.3

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

verb-tag-glob NPM version

Tag for Verb. Use minimatch/glob patterns to include local documents/templates.

Install

Install with npm:

npm i verb-tag-glob --save

Usage

If you're using verb-cli, you will need to define ['verb-tag-glob'] in the tags property in the front matter of your project's .verbrc.md (or docs/README.tmpl.md). This registers the tag with verb:

---
tags: ['verb-tag-glob']
---

In your templates, you can now use the tag like this:

{%= glob("test/*.md") %}

(Also note that front-matter is just one way to register verb tags, filters, and plugins. See the verb documentation for more info.)

Author

Jon Schlinkert

License

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


This file was generated by verb-cli on June 01, 2014.