Skip to content

sanx/metalsmith-date-in-filename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-date-in-filename: incorporate date info in filename onto file metadata

Build Status

Installation

npm install --save-dev metalsmith-date-in-filename

Usage

var Metalsmith = require('Metalsmith');
var dateInFilename = require('metalsmith-date-in-filename');
Metalsmith(__dirname)
    .use(dateInFilename({override: true})) // can be "dateInFilename(true)", which is equivalent
    .build();

CLI Usage

{
    "plugins": {
        "metalsmith-date-in-filename": {"override": true}
    }
}

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published