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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Metalsmith plugin for registering Handlebars partials.
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.
MIT, see LICENSE.md for details.