Sha256: 65a468a7665350f0329a3cfe9c39503f21ecfffba7672d8e3946db27fb192876

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

!!! Strict
%html{html_attrs}
  
  %head
    %title
      = h(yield(:title) || "Untitled")
    %meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
    <% if options[:compass] %>
    = stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection'
    = stylesheet_link_tag 'compiled/print.css', :media => 'print'
    /[if lt IE 8]
      = stylesheet_link_tag 'compiled/ie.css', :media => 'screen, projection'
    <% else %>
    = stylesheet_link_tag '<%= file_name %>'
    <% end %>
    = yield(:head)
  
  %body<% if options[:compass] %>#bp<% end %>
    #container
      - flash.each do |name, msg|
        = content_tag :div, msg, :id => "flash_#{name}"
      
      - if show_title?
        %h2=h yield(:title)
      
      = yield

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ghart-nifty-generators-0.3.0.1 rails_generators/nifty_layout/templates/layout.html.haml