metalsmith-posix-path

1.1.0 • Public • Published

metalsmith-posix-path

Build Status

Metalsmith plugin that add posix path and rename files.

Install

npm install metalsmith-posix-path

Usage

var Metalsmith = require('metalsmith')
var posixPath = require('metalsmith-posix-path')

Metalsmith(__dirname)
  .use(posixPath({
    property:['path', 'canonical'],
    rename: {
      extname: '.html'
    }
  }))
  .build()

Options

name description default type
property property name for metadata 'posixPath' string or array
omit delete filename if it's index.* true boolean
rename rename file {} string or object

rename: https://github.com/popomore/rename

License

MIT

Keywords

none

install

npm i metalsmith-posix-path

Downloadsweekly downloads

0

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability