This package has been deprecated

Author message:

Abandoned, use metalsmith-in-place or metalsmith-jstransformer instead

metalsmith-template-content

0.0.2 • Public • Published

metalsmith-template-content

Use the template language of your choice within the content of an article

Usage

var content_templates = require('metalsmith-content-templates');
 
metalsmith.use({
  engine: 'swig'
});

Runs automatically on .html and .md files. To add to other files, set content_template within the frontmatter.

Changelog

  • 0.0.2: Fix issue due to post contents not being Buffers.
  • 0.0.1: First release

Alternatives

  • (metalsmith-in-place)[https://github.com/superwolff/metalsmith-in-place]: Has many more features, but was not around when this plugin was first created.

Package Sidebar

Install

npm i metalsmith-template-content

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • fortes