templates/project/index.html.haml in html5-boilerplate-0.1.0 vs templates/project/index.html.haml in html5-boilerplate-0.1.1
- old
+ new
@@ -4,21 +4,21 @@
%meta{:charset => "utf-8"}/
-# www.phpied.com/conditional-comments-block-downloads/
/[if IE]
-#
- Always force latest IE rendering engine (even in intranet) & Chrome Frame
+ Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
%title
%meta{:content => "", :name => "description"}/
%meta{:content => "", :name => "author"}/
-#
Mobile Viewport Fix
- j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
+ j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
device-width : Occupy full width of the screen in its current orientation
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
%meta{:content => "width=device-width; initial-scale=1.0; maximum-scale=1.0;", :name => "viewport"}/
@@ -30,10 +30,10 @@
%link{:href => "css/style.css?v=1", :rel => "stylesheet"}/
-# For the less-enabled mobile browsers like Opera Mini
%link{:href => "css/handheld.css?v=1", :media => "handheld", :rel => "stylesheet"}/
- -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects
+ -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects
%script{:src => "js/modernizr-1.5.min.js"}
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
\ No newline at end of file