This package has been deprecated
This package was split into two simpler plugins: metalsmith-layouts and metalsmith-in-place
A metalsmith plugin to render files with templates.
You can use any templating engine supported by consolidate.js.
$ npm install metalsmith-templates
Install the node modules and then add the
metalsmith-templates key to your
metalsmith.json plugins. The simplest use case just requires the template engine you want to use:
If you want to specify additional options, pass an object:
For the simplest use case, just pass your templating engine:
var templates = ;metalsmith;
To specify additional options: