test/dummy/source/layouts/layout.haml in font-awesome-middleman-4.0.3 vs test/dummy/source/layouts/layout.haml in font-awesome-middleman-4.1.0
- old
+ new
@@ -1,12 +1,16 @@
!!!
%html
%head
- %meta{:charset => "utf-8"}/
- / Always force latest IE rendering engine or request Chrome Frame
- %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
- / Use title if it's in the page YAML frontmatter
- %title= data.page.title || "The Middleman"
- = stylesheet_link_tag "normalize", "all"
+ %meta(charset="utf-8")
+
+ -# Always force latest IE rendering engine or request Chrome Frame
+ %meta(content="IE=edge,chrome=1" http-equiv="X-UA-Compatible")
+
+ -# Use title if it's in the page YAML frontmatter
+ %title= current_page.data.title || "The Middleman"
+
+ = stylesheet_link_tag "all"
= javascript_include_tag "all"
- %body{:class => page_classes}
+
+ %body{ class: page_classes }
= yield