You'll need at least Rails 3.1. Then put this in your
This gives you a generator
boilerplate:install which does the following things:
app/views/layouts/application.html.erbto include all the elements used in the H5BP:index.html converted to a Rails compatible ERB file, complete with the necessary rails helper calls.
style.css(renamed to reset.css),
copies over some static file (like favicons, touch icons, robots.txt, humans.txt) to the
If you want to checkout the code, be sure to do:
git submodule init git submodule update bundle
- add option to strip comments from the
- add option to exclude google analytics script
- google analytics scripts (ga.js) only gets attached in production env
- generator adds
config.assets.precompile += %w(modernizr.js)to
- updated to html5-boilerplate version
- initial version.