Snockets plugin for the Wintersmith static site generator.
CoffeeScript JavaScript HTML Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
test
.gitignore
Makefile
README.md
index.js
package.json
plugin.coffee

README.md

wintersmith-snockets

Snockets plugin for wintersmith.

install:

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

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.