README.md

March 2, 2015 ยท View on GitHub

metalsmith-only

NPM version Dependencies Status

a file's attribute only filter for metalsmith

Install

metalsmith-only

Usage

var metalSmith = require('metalsmith');
var only = require('metalsmith-only');

var metalsmith = metalSmith(__dirname);
metalsmith
    .source('post')
    .use(only('name title'))
    .build()

License

MIT