Sha256: 7395a3f5ccc0b933d4242a49a1c6c83b3c41e7b5ee76bb52c64a306390207568
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
!!! 5 -# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -ie_html :class => 'no-js', :lang => 'en' do %head -# to specify a stylesheet other than application, send a local variable to the head partial, eg: :locals => {:stylesheet => "name_of_stylesheet"} = render :partial => "layouts/boilerplate/head", :locals => {:stylesheet => "boilerplate"} %body{ :class => "#{controller.controller_name}" } #container %header#header = render "layouts/boilerplate/header" #main{ :role => "main" } = render "layouts/boilerplate/flashes" = yield %footer#footer = render "layouts/boilerplate/footer" -# include various Javascript goodness at the bottom of the page for faster page loading -# to specify a stylesheet other than application, send a local variable to the javascripts partial, eg: :locals => {:javascripts => "name_of_javascript"} = render :partial => "layouts/boilerplate/javascripts", :locals => {:stylesheet => "boilerplate"}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
head_start-0.1.1 | templates/boilerplate/layouts/boilerplate.html.haml |
head_start-0.1.0 | templates/boilerplate/layouts/boilerplate.html.haml |