!!!
%html.no-js{:lang => "en"}
%head
%meta{:charset => "utf-8"}/
-# www.phpied.com/conditional-comments-block-downloads/
/[if IE]
-#
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
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"}/
-# Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references
%link{:href => "/favicon.ico", :rel => "shortcut icon"}/
%link{:href => "/apple-touch-icon.png", :rel => "apple-touch-icon"}/
-# CSS : implied media="all"
%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
%script{:src => "js/modernizr-1.5.min.js"}
-# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
%body
#container
%header
#main
%footer
-#
Javascript at the bottom for fast page loading
Grab Google CDN's jQuery. fall back to local if necessary
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"}
:javascript
!window.jQuery && document.write('
-# yui profiler and profileviewer - remove for production
%script{:src => "js/profiling/yahoo-profiling.min.js?v=1"}
%script{:src => "js/profiling/config.js?v=1"}
-# asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet
-# change the UA-XXXXX-X to be your site's ID
:javascript
var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.async = true;
g.src = '//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
})(document, 'script');