A metalsmith plugin that converts Git repositories to posts with all versions publicly available.
JavaScript
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

metalsmith-versioned-posts

A metalsmith plugin that converts Git repositories to posts with all versions publicly available.

Installation

npm install metalsmith-versioned-posts

Usage

Like all plugins, you can either invoke this one through code or configuration:

Configuration

In your metalsmith.json file:

"metalsmith-versioned-posts": {
  "directories": ["_posts"],
  "override": false
}

Code

//To do

Options

`directories`: Only look for version-eligible posts in these directories

Versions

0.4: Upgraded dependencies