Sha256: 08c9969a2f5cf625bdef2bacdaa1519e98e026ac8623a725d66bef80a4370a30

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

!!! Strict
%html{html_attrs}
  
  %head
    %title
      = h(yield(:title) || "Untitled")
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/

    = stylesheet_link_tag 'blueprint/screen.css', :media => 'screen, projection'
    = stylesheet_link_tag 'blueprint/print.css', :media => 'print'
    /[if lt IE 8]
      = stylesheet_link_tag 'blueprint/ie.css', :media => 'screen, projection'

    / uncomment for activating blueprint plugins
    /= stylesheet_link_tag 'blueprint/plugins/buttons/screen.css', :media => 'screen, projection'
    /= stylesheet_link_tag 'blueprint/plugins/fancy-type/screen.css', :media => 'screen, projection'
    /= stylesheet_link_tag 'blueprint/plugins/link-icons/screen.css', :media => 'screen, projection'
    /= stylesheet_link_tag 'blueprint/plugins/rtl/screen.css', :media => 'screen, projection'

    = stylesheet_link_tag '<%= file_name %>'
    = yield(:head)

  %body
    #container
      - flash.each do |name, msg|
        = content_tag :div, msg, :id => "flash_#{name}"
      
      - if show_title?
        %h1=h yield(:title)
      
      = yield

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
splendeo-generators-0.1.0 rails_generators/splendeo_layout/templates/layout.html.haml
splendeo-nifty-generators-0.3.2 rails_generators/nifty_layout/templates/layout.html.haml