Metalsmith: Pluggable Node.js static site generator with Javascript & Command-line APIs

Metalsmith masthead

http://www.metalsmith.io/

I like the simplicity and extreme flexibility. Static site generation is one of those places where I don’t want the framework to be too opinionated.

Simple Blog Example from the website:

Metalsmith(__dirname)
  .use(markdown())
  .use(templates('handlebars'))
  .build();

Simple Blog Example with draft posts and custom permalinks from the website:

Metalsmith(__dirname)
  .use(drafts())
  .use(markdown())
  .use(permalinks('posts/:title'))
  .use(templates('handlebars'))
  .build();