lib/generators/rails/templates/layout.html.erb in playmo-0.1.2 vs lib/generators/rails/templates/layout.html.erb in playmo-0.1.3
- old
+ new
@@ -10,20 +10,20 @@
<meta name="description" content="<%%= yield :description %>">
<meta name="author" content="<%%= yield :author %>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico">
-
+ <script>document.documentElement.className = document.documentElement.className.replace('no-js', 'js');</script>
<%%= stylesheet_link_tag "application" %>
<%%= javascript_include_tag "application" %>
</head>
<body id="<%%= page_id %>">
<%%= flash_messages %>
<div id="main-wrapper">
- <header>
- <h1><%%= link_to_unless_current 'Welcome aboard!', main_app.root_path %></h1>
+ <header id="header">
+ <h1><%%= link_to_unless_current 'Welcome aboard!!!', main_app.root_path %></h1>
</header>
<div id="body">
<section id="content" class="content">
<%%= yield %>
@@ -33,10 +33,10 @@
<%%= content_for?(:sidebar) ? yield(:sidebar) : render("shared/sidebar") %>
</aside>
</div>
</div>
- <footer>
+ <footer id="footer">
<p>
This application was generated with <%%= link_to 'Playmo', 'http://github.com/tanraya/playmo' %> gem
</p>
</footer>
</body>