Sha256: e72a855026c5932d3c354f4c5718f818da1f9b9ec385acd40414d502a3c01575

Contents?: true

Size: 1.35 KB

Versions: 8

Compression:

Stored size: 1.35 KB

Contents

!!! 5
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
<!--[if lt IE 7]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if gt IE 8]><!-->
%html.no-js{ :lang => "en" }
  <!--<![endif]-->

  %head
    -#
      to specify a stylesheet other than application, send a local variable to the head partial, eg:
      :locals => {:stylesheet => "name_of_stylesheet"}
    = render_partial "boilerplate/head", :page_title => page_title, :site_title => site_title, :locals => {:stylesheet => "boilerplate"}

  %body{ :class => "#{page_title}" }
    #container
      %header#header
        = render_partial "boilerplate/header", :page_title => page_title

      #main{ :role => "main" }
        // TODO: decide if/how we're going to use flashes
        /= render_partial "boilerplate/flashes"
        = yield

      %footer#footer
        = render_partial "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 "boilerplate/javascripts", :locals => {:stylesheet => "boilerplate"}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
head_start-0.1.7 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.6 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.5 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.4 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.3 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.2 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.1 templates/boilerplate/layouts/stand_alone/boilerplate.haml
head_start-0.1.0 templates/boilerplate/layouts/stand_alone/boilerplate.haml