Skip to content

Metalsmith plugin that add metadata by json.

License

Notifications You must be signed in to change notification settings

hbsnow/metalsmith-json-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Metalsmith plugin that add metadata by json.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published