update to latest html5 boilerplate

This commit is contained in:
Greg Weber 2011-10-18 07:22:50 -07:00
parent 9c57f4bfd9
commit edab547eb7

View File

@ -1,25 +1,23 @@
\<!doctype html>
\<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
\<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
\<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
\<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
\<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js"><!--<![endif]-->
\<!doctype html>
\<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
\<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
\<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
\<!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>#{pageTitle pc}
<meta name="description" content="">
<meta name="author" content="">
<title>#{pageTitle pc}
<meta name="viewport" content="width=device-width,initial-scale=1">
^{pageHead pc}
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
\<!--[if lt IE 9]>
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
\<![endif]-->
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/,'js');
@ -31,3 +29,16 @@
<div #message>#{msg}
^{pageBody pc}
<footer>
\<!-- Change UA-XXXXX-X to be your site's ID -->
<script>
window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
YepNope.load({
\ load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
});
\<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started -->
\<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js">
<script>
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
\<![endif]-->