Sha256: ca0e63218bf8f971a17f3fd9eb593f1406bd93ef605be8b1bacfc03f14433499

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

<!doctype html>
<html lang="en" class="no-js">
<head>
  <meta charset="utf-8">
  <!--[if IE]><![endif]-->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title><%%= content_for?(:title) ? yield(:title) : "<%= app_name %>" %></title>
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
  <link rel="shortcut icon" href="/favicon.ico">
  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  <% if options.stylesheet? %>
  <%%= stylesheet_link_tag "<%= file_name %>" %>
  <%%= stylesheet_link_tag "handheld", :media => "handheld" %>
  <% end %>

  <%%= javascript_include_tag "modernizr-1.5.min" %>
  <%%= csrf_meta_tag %>
  <%%= yield(:head) %>

</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]>    <body class="ie7"> <![endif]-->
<!--[if IE 8 ]>    <body class="ie8"> <![endif]-->
<!--[if IE 9 ]>    <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->

  <div id="container">
    <header>
    </header>
    
    <div id="main">
      <%% flash.each do |name, msg| %>
        <%%= content_tag :div, msg, :id => "flash_#{name}"%>
      <%% end %>
      <%%= yield %>
    </div>
    <footer>
    </footer>
  </div> <!-- end of #container -->

  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  <script>!window.jQuery && document.write('<script src="/javascripts/jquery-1.4.2.min.js"><\/script>')</script>
  <!--[if lt IE 7 ]>
    <script src="/javascripts/dd_belatedpng.js?v=1"></script>
  <![endif]-->
  <%%= javascript_include_tag :defaults %>
  <script>
   var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']]; 
   (function(d, t) {
    var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
    g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s);
   })(document, 'script');
  </script>
  <%%= yield(:foot) %>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5_layout-0.0.3 lib/generators/html5_layout/templates/layout.html.erb