A generator for Yeoman with support for:
- Assemble, a static site generator for Grunt with Layouts, Handleblars Templates, Markdown and Data separation
- SASS with Bourbon and Neat
- CoffeeScript
- Optimized Build including concataneted, minified, cache busted assets
- Development server with LiveReload support
Install Yeoman:
npm install -g yo
Install the generator:
npm install -g generator-staticsite
Create a new project:
mkdir project && cd $_
yo staticsite
The following directory structure generated after run yo staticsite
:
.
├── .editorconfig
├── .jshintrc
├── .gitignore
├── Gruntfile.js
├── package.json
├── src
│ ├── assets
│ │ ├─── scripts
│ | │ ├── module1.js
│ | │ └── module2.coffee
│ │ └── styles
│ | │ ├── modules
│ | │ | ├── _all.scss
│ | │ | └── _header.scss
│ | │ └── main.scss
│ ├── content
│ │ └── markdown.md
│ ├── data
│ │ └── site.yml
│ └── templates
│ ├── layouts
│ │ └── default.hbs
│ ├── pages
│ │ ├── index.hbs
│ └── partials
│ └── header.hbs
└── node_modules