!!!5 %html %head %meta{ :charset=>'utf-8' } %title An awesome site %meta{ :name=>'viewport', :content=>'width=device-width, initial-scale=1.0' } :css body { padding-top: 60px; } %link{ :rel=>'stylesheet', :type=>'text/css', :href=>"#{site.base_url}/stylesheets/styles.css" } /[if lt IE 9] %script{ :type=>'text/javascript', :src=>'//html5shim.googlecode.com/svn/trunk/html5.js' } %body %nav.navbar.navbar-default.navbar-fixed-top{:role=>'navigation'} .container-fluid .navbar-header %a.navbar-brand{ :href=>"#{site.base_url}" } #{site.name} %ul.nav.navbar-nav.navbar-right %li %a{ :href=>"#{site.base_url}" } Home .container ~ content %hr %footer %p © #{site.org} #{Date.today.year} -# Uncomment script tags (remove leading -#) when you're ready to use behaviors -# %script{ :type=>'text/javascript', :src=>'//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js' } -# %script{ :type=>'text/javascript', :src=>"#{site.base_url}/javascripts/bootstrap-collapse.js" }