Skip to content

Instantly share code, notes, and snippets.

@mmcc
Created November 30, 2012 22:17
Show Gist options
  • Save mmcc/4179100 to your computer and use it in GitHub Desktop.
Save mmcc/4179100 to your computer and use it in GitHub Desktop.
Starting point for Haml + Sass + Bootstrap + Font Awesome
!!!
%html{ :xmlns => 'http://www.w3.org/1999/xhtml', :lang => 'en', 'xml:lang' => 'en' }
%head
%title Zenquest
%meta{ 'http-equiv' => 'Content-Type', :content => 'text/html; charset=utf-8' }
%link{ :rel => 'stylesheet', :href => '//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap.no-responsive.no-icons.min.css', :type => 'text/css' }
%link{ :rel => 'stylesheet', :href => '//netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome.css', :type => 'text/css' }
%link{ :rel => 'stylesheet', :href => '/screen.css', :type => 'text/css' }
%body
#header
.container
%h1 My Title
#content
.container
= yield
#footer
.container
%p All content copyright © or something.
%script{ :src => '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' }
%script{ :src => '//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment