1.0.2 • Published 9 years ago
metalsmith-register-partials v1.0.2
metalsmith-register-partials
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:
{
"plugins": {
"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.