Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Metalsmith plugin for extracting dates from Jekyll-style filenames

License

Notifications You must be signed in to change notification settings

fortes/metalsmith-jekyll-dates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

This is no longer maintained, code is archived and available for forking though.

metalsmith-jekyll-dates build status

Greenkeeper badge

Adds date and slug metadata to files that have Jekyll-style filenames.

Example

Before:

{
  "2000-10-15-my-post.md": {
    contents: new Buffer('...')
  }
}

After

{
  "2000-10-15-my-post.md": {
    date: "Sun Oct 15 2000 12:00:00 GMT-0700 (PDT)",
    slug: "my-post"
    contents: new Buffer('...')
  }
}

See Also

If this doesn't do what you want it to, look at:

About

Metalsmith plugin for extracting dates from Jekyll-style filenames

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published