metalsmith-json-metadata

0.1.0 • Public • Published

metalsmith-json-metadata

Build Status

Metalsmith plugin that add metadata by jsonfile.

Install

npm i metalsmith-json-metadata

Usage

build.js

var Metalsmith = require('metalsmith')
var jsonMetadata = require('metalsmith-json-metadata')

Metalsmith(__dirname)
  .use(jsonMetadata())
  .build()

index.html

---
jsonMetadata: ['one.json', 'two.json']
---
<p>Hello, world!</p>

Options

name description default
except except json used true

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i metalsmith-json-metadata

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • hbsnow