Home

Awesome

verb-collections NPM version NPM monthly downloads NPM total downloads Linux Build Status

Verb plugin that adds includes, layouts, badges and docs template collections. Can be used with verb, assemble or generate, in a *file.js, or a globally installed generator.

<details> <summary><strong>Table of Contents</strong></summary> - [Install](#install) - [Usage](#usage) - [Collections](#collections) - [About](#about) </details>

Install

Install with npm:

$ npm install --save verb-collections

Usage

This plugin can be used in a verbfile.js or a globally installed verb generator.

var collections = require('verb-collections');

// register the plugin
app.use(collections());

Collections

Adds the following view collections to your verb app:

Renderable

Templates in these collections can be (automatically) rendered:

Layouts

Templates in these collections can be used as layouts:

Partials

Templates in these collections can be used as partials:

About

Related projects

Contributing

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

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. MIT


This file was generated by verb-generate-readme, v0.4.1, on January 27, 2017.