generator-static-website
v0.16.0
Published
Generator to create static websites.
Readme
generator-static-website
Yeoman generator to create static websites with Stylus, Jade and CoffeeScript.
Installation
Run
npm install -g yo grunt-cli generator-static-websiteIf you get a permission error, try running npm with sudo.
Usage
To create a new website, run
yo static-website MY_WEBSITEThe directory MY_WEBSITE will be generated.
You can then start coding.
cd MY_WEBSITE
gruntCSS engine
The default CSS engine is Stylus.
However, you can use less css if you wish, by adding
--css=less to the yo command:
yo static-website MY_WEBSITE --css=lessHTML template engine
The default HTML template engine is Jade.
However, you can use ejs (with layouts) if you wish, by adding
--html=ejs to the yo command:
yo static-website MY_WEBSITE --html=ejsFeatures
Lorem Ipsum generator: You can use the lorem ipsum generator as the function
loremin all Jade/EJS templates:p= lorem({units: 'paragraphs', count: 2})<%= lorem({units: 'paragraphs', count: 2}) %>
