Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Static site generator
branch: master

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();
Something went wrong with that request. Please try again.