generator-go-static
v0.2.0
Published
Go-Static! is a static site generator that employs the tools developers already know and love. Yeoman to scaffold out your project and Grunt to generate the output.
Downloads
3
Readme
generator-go-static
(WORK IN PROGRESS)
A static site generator for Yeoman.
Getting Started
What is Yeoman?
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
$ npm install -g yo
Yeoman Generators
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-go-static from npm, run:
$ npm install -g generator-go-static
Now, initiate the generator:
$ yo go-static
Next, add a page or post:
$ yo go-static:post "New Blog Post"
$ yo go-static:page "About"
Finally, build and serve it with Grunt!
$ grunt server