Sha256: 0e29d60cbf197f075bff1c7e167100147e2c093a49ce0f674d494c588827d939

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title><%%= h(yield(:title) || "Untitled") %></title>
    <%%= 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' %>
    <![endif]-->

    <!-- 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) %>
  </head>
  <body>
    <div id="container">
      <%%- flash.each do |name, msg| -%>
        <%%= content_tag :div, msg, :id => "flash_#{name}" %>
      <%%- end -%>
      
      <%%- if show_title? -%>
        <h1><%%=h yield(:title) %></h1>
      <%%- end -%>
      
      <%%= yield %>
    </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 2 rubygems

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