Static site generator
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
README.md
anvil.js
package.json

README.md

Anvil

Another static site generator.

#!/usr/bin/env node
var Anvil = require('anvil');
var app = new Anvil();

app.ignore('/private/*');

app.route('*.md', function(item) {
    item.template = 'post';
    item.extension = '.html';
});

app.route('/blog/*.md', function(item) {
    item.template = 'blogpost';
    item.index = true;
});

app.compile();