Middleman Bootstrap is my clean project starting point for the Middleman static site renderer. It includes HTML5 Boilerplate, your choice of Blueprint or 960.gs grid systems, and lots of best practices.
Start by installing the Middleman gem:
gem install middleman
Then just download the latest source or if you prefer, clone the bootstrap repository down to your local machine:
git clone git://github.com/nathos/middleman-bootstrap.git mydirectory
Page templates and Sass stylesheets are in the /views/
directory. Put your images and JavaScripts in the /public/
directory. Use mm-server
to do your live development and mm-build
to render your static file output to the /build/
directory.
For full Middleman documentation, visit the Middleman wiki.
The default Haml layout is based on HTML5 Boilerplate, and is fully commented. (Don't worry, those comments aren't rendered out to your build directory)
You can enable either Blueprint or 960.gs grid systems by uncommenting the appropriate line in the main style.css.sass
file. Each grid partial (_960grid.sass
and _blueprintgrid.sass
) includes a basic grid setup with comments.
(Note: 960.gs requires that you uncomment a line in config.rb
as well)
Send me a message or submit an issue. Thanks!
Following the lead of HTML5 Boilerplate here...
Major components:
- Modernizr: MIT/BSD license
- jQuery: MIT/GPL license
- Respond.js: MIT/GPL license
- YUI Profiling: BSD license
- HTML5Doctor CSS reset: Public Domain
- CSS Reset Reloaded: Public Domain
- Blueprint CSS: MIT license
- 960.gs: MIT/GPL license
Everything else:
- The Unlicense (aka: public domain)