Sha256: c51254b7d514f6c20048806265e08dbbc0c72e778e788668bf66e0b7cb623100
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
--- html5-boilerplate/index.html 2011-09-24 10:26:27.000000000 +0200 +++ lib/generators/boilerplate/install/templates/index.html 2011-09-24 10:27:21.000000000 +0200 @@ -12,7 +12,7 @@ More info: h5bp.com/b/378 --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title></title> + <title><%= application_name %></title> <meta name="description" content=""> <meta name="author" content=""> @@ -21,38 +21,22 @@ <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons --> - <link rel="stylesheet" href="css/style.css"> - + <%%= stylesheet_link_tag "application" %> + <%%= csrf_meta_tags %> + <!-- More ideas for your <head> here: h5bp.com/d/head-Tips --> <!-- All JavaScript at the bottom, except this Modernizr build incl. Respond.js - Respond is a polyfill for min/max-width media queries. Modernizr enables HTML5 elements & feature detects; + Respond is a polyfill for min/max-width media queries. Modernizr enables HTML5 elements & feature detects; for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/ --> - <script src="js/libs/modernizr-2.0.6.min.js"></script> + <%%= javascript_include_tag "modernizr" %> </head> <body> - <header> - - </header> - <div role="main"> - - </div> - <footer> - - </footer> - + <%%= yield %> <!-- JavaScript at the bottom for fast page loading --> - - <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline --> - <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> - <script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.4.min.js"><\/script>')</script> - - - <!-- scripts concatenated and minified via build script --> - <script defer src="js/plugins.js"></script> - <script defer src="js/script.js"></script> + <%%= javascript_include_tag "application" %> <!-- end scripts -->
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-boilerplate-0.1.4 | index.html.patch |
rails-boilerplate-0.1.3 | index.html.patch |