Last active
August 2, 2016 01:51
-
-
Save wlangstroth/1053847 to your computer and use it in GitHub Desktop.
html5boilerplate in slim
This file contains hidden or 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
doctype html | |
/[if lt IE 7] | |
html.no-js.lt-ie9.lt-ie8.lt-ie7 lang="en" | |
/[if IE 7] | |
html.no-js.lt-ie9.lt-ie8 lang="en" | |
/[if IE 8] | |
html.no-js.lt-ie9 lang="en" | |
| <!--[if (gte IE 8)]<!--> | |
<html class="no-js"> <!--<![endif]--> | |
head | |
meta charset="utf-8" | |
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" | |
title= "Title" | |
meta name="description" content="" | |
meta name="viewport" content="width=device-width" | |
link rel="stylesheet" href="css/normalize.css" | |
link rel="stylesheet" href="css/main.css" | |
script src="js/vendor/modernizr-2.6.2.min.js" | |
body | |
/[if lt IE7] | |
p.chromeframe | |
' You are using an outdated browser. | |
a href="http://browsehappy.com/" Upgrade your browser today | |
' or | |
a href="http://www.google.com/chromeframe/?redirect=true" install Google Chrome Frame | |
| to better experience this site. | |
== yield | |
script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" | |
javascript: | |
window.jQuery || document.write('<script src="js/vendor/jquery-1.9.0.min.js"><\/script>') | |
script src="js/plugins.js" | |
script src="js/main.js" | |
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')); | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment