- Middleman, static page generator
- Foundation 5, responsive web page css
- Github page, the awesome static page hosting
gem install middleman
will install the middleman itself.
middleman template with foundation 5
git clone git://github.com/axyz/middleman-zurb-foundation.git ~/.middleman/zurb-foundation
and then
middleman init my_static_app --template=zurb-foundation
ok,
gem install 'middleman-gh-pages'
echo "'middleman-gh-pages'" >> Rakefile
rake publish
will generate your static pages into side, and deploy it to github page (gh-pages branch)
add this 2 lines to your config.rb
activate :relative_assets
set :relative_links, true
if you are using custom domain and project name form: http://icodeit.org/placesihavebeen
.