forked from jnordberg/wintersmith-less
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
|
||
# wintersmith-stylus | ||
|
||
[stylus](http://learnboost.github.com/stylus/docs/js.html) plugin for [wintersmith](https://github.com/jnordberg/wintersmith) | ||
[stylus](http://learnboost.github.com/stylus/docs/js.html) plugin for [wintersmith](https://github.com/jnordberg/wintersmith). | ||
|
||
Now works with [nib](http://visionmedia.github.com/nib/). | ||
|
||
install: | ||
### install: | ||
|
||
`npm install wintersmith-stylus -g` | ||
then add `wintersmith-stylus` to your plugins in the wintersmith config | ||
|
||
or locally, | ||
|
||
npm install wintersmith-stylus | ||
|
||
then add `./node_modules/wintersmith-stylus/` 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-stylus/" | ||
] | ||
} | ||
|
||
|
||
### Test | ||
|
||
Test is written using [Mocha](http://visionmedia.github.com/mocha/). Install it globally, then run | ||
|
||
$ mocha |