Snockets plugin for wintersmith.
npm install wintersmith-snockets
then add ./node_modules/wintersmith-snockets/
to config.json
like:
{
"locals": {
"url": "http://localhost:8080",
"name": "The Wintersmith's blog",
"owner": "The Wintersmith",
"description": "-32°C ain't no problems!",
"index_articles": 3
},
"plugins": [
"./node_modules/wintersmith-snockets/"
]
}
Test is written using Mocha. Install it globally, then run
$ mocha
or
$ npm test
PS: wintersmith-snockets will handle all coffee-script compilation, so wintersmith-coffee is no longer required, although it will not cause problems.