Wintersmith-Nunjucks Generator
Yeoman generator for Wintersmith using Nunjucks
If you didn't know: Nunjucks is a good alternative node based templating engine to Django, Swig or Twig.
Features
- set up a local server and automatically reload on change
- HTML5 boilerplate
- compile sass files using node sass
- asset minification
- adds jQuery and Modernizr from CDN with local fallback
- includes Twitter Bootstrap
Getting started
First install node.js.
Then get yeoman. Type this in your terminal:
npm install -g yo
Install the generator and wintersmith from npm. Open your terminal and type:
npm install -g generator-wintersmith-nunjucks wintersmith
Usage
Generate a new project:
yo wintersmith-nunjucks
To start a local server and watch for changes, use:
grunt dev
To create a production-ready build, use:
grunt build
Want to contribute?
These things are still to do:
- Choose between ruby or node sass
- Choose different frameworks, e.g. Foundation or Bootstrap