!!! 5 -# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ %html.no-js %head %meta{ :charset => "utf-8" }/ -# 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 optimized: j.mp/bplateviewport %meta{ :content => "width=device-width, initial-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", :media => "all", :rel => "stylesheet" }/ -# Uncomment if you are specifically targeting less enabled mobile browsers -# %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.min.js" } %body{ :lang => "en" } #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.4/jquery.min.js" } :javascript !window.jQuery && document.write(unescape('%3Cscript src="js/jquery.min.js"%3E%3C/script%3E')) %script{ :src => "js/plugins.js?v=1" } %script{ :src => "js/script.js?v=1" } /[if lt IE 7 ] :javascript $.getScript("js/dd_belatedpng.js",function(){ DD_belatedPNG.fix('img, .png_bg'); }); -# 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 = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s); })(document, 'script');