particle-iot/metalsmith-register-partials

Name: metalsmith-register-partials

Owner: Particle

Description: A Metalsmith plugin for registering Handlebars partials.

Created: 2015-07-16 03:58:19.0

Updated: 2015-07-16 03:58:20.0

Pushed: 2018-01-03 18:33:27.0

Homepage: null

Size: 3

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

metalsmith-register-partials

unstable

A Metalsmith plugin for registering Handlebars partials.

CLI Usage

Install via npm and then add the metalsmith-register-partials key to your metalsmith.json plugins, like so:


lugins": {
"metalsmith-register-partials": {
  "directory": "path/to/partials"
}


This will register all partials in the specified directory and use the first part of the filename as the partial name.

License

MIT, see LICENSE.md for details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.