Wintersmith.io – Static site generator built with node.js.

Screenshot 2014-12-22 20.20.39

Static site generators seem to be all the rage at the moment. Wintersmith.io is built on top of node.js. It’s flexible too. Allowing various templating engines like jade, liquid, handlebars and many others.

It uses markdown for its content. It also allows you to bundle JavaScript with Browserify and compile CSS with any popular CSS pre compiler.

Quick-start

First install wintersmith using npm:

$ npm install wintersmith -g

This will install wintersmith globally on your system so that you can access the wintersmithcommand from anywhere. Once that is complete run:

$ wintersmith new <path>

Where <path> is the location you want the site to be generated. This creates a skeleton site with a basic set of templates and some articles, while not strictly needed it’s a good starting point.

Now enter the directory and start the preview server:

$ cd <path>
$ wintersmith preview

At this point you are ready to start customizing your site. Point your browser tohttp://localhost:8080 and start editing templates and articles.

When done run:

$ wintersmith build

This generates your site and places it in the build/ directory – all ready to be copied to your web server!

Boom!!!