Created
November 30, 2012 21:26
-
-
Save hackingbeauty/4178752 to your computer and use it in GitHub Desktop.
Hamlfied version of HTML5Boilerplate when using grunt-haml npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
/[if lt IE 7] <html class='no-js lt-ie9 lt-ie8 lt-ie7'> | |
/[if IE 7] <html class='no-js lt-ie9 lt-ie8'> | |
/[if IE 8] <html class='no-js lt-ie9'> | |
/ [if gt IE 8]><! | |
%html.no-js | |
/ <![endif] | |
%head | |
%meta{charset : "utf-8"}/ | |
%meta{http-equiv : "X-UA-Compatible", content : "IE=edge,chrome=1"}/ | |
%title | |
%meta{content : "", name : "description"}/ | |
%meta{content : "width=device-width", name => "viewport"}/ | |
%link{href : "styles/index.css", rel => "stylesheet"}/ | |
%body | |
/ Main container. | |
#main.container{role : "main"} | |
/[if lt IE 7] | |
<p class='chromeframe'>You are using an outdated browser. <a href='http://browsehappy.com/'>Upgrade your browser today</a> or <a href='http://www.google.com/chromeframe/?redirect=true'>install Google Chrome Frame</a> to better experience this site.</p> | |
/ Add your site or application content here | |
/ build:js scripts/amd-app.js | |
%script{data-main : "scripts/config", src : "scripts/libs/require.js"} | |
/ endbuild | |
/ Google Analytics: change 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.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; | |
s.parentNode.insertBefore(g,s)}(document,'script')); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment