lib/generators/rails/templates/layout.html.haml in playmo-0.1.2 vs lib/generators/rails/templates/layout.html.haml in playmo-0.1.3
- old
+ new
@@ -7,20 +7,22 @@
%title= page_title "Default title"
%meta{:content => yield(:description), :name => "description"}
%meta{:content => yield(:author), :name => "author"}
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
%link{:href => "/favicon.ico", :rel => "shortcut icon"}
+ :javascript
+ document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
= stylesheet_link_tag "application"
= javascript_include_tag "application"
%body{:id => page_id}
= flash_messages
#main-wrapper
- %header
+ %header#header
%h1= link_to_unless_current 'Welcome aboard!', root_path
#body
%section#content
= yield
%aside
= content_for?(:sidebar) ? yield(:sidebar) : render("shared/sidebar")
- %footer
+ %footer#footer
%p
This application was generated with #{link_to 'Playmo', 'http://github.com/tanraya/playmo'} gem
\ No newline at end of file