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.
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>
<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 to
http://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!