JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: make html5 work in ie6-8 and locally
authorJason Woofenden <jason@jasonwoof.com>
Mon, 19 Sep 2011 05:38:43 +0000 (01:38 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Mon, 19 Sep 2011 05:38:43 +0000 (01:38 -0400)
metaform/site-template.html
metaform/style.less

index 7415d56..bebfc07 100644 (file)
@@ -4,7 +4,8 @@
        <meta charset="utf-8" />
        <title>~$title html~</title>
        <!--[if lt IE 9]>
-               <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+               ~$running_locally {~<script src="/javascript/html5.js"></script>~}~
+               ~$running_locally unset {~<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>~}~
        <![endif]-->
        <script>less = {env:'development'};</script>
        <link rel="stylesheet/less" href="style_01.less" />
index 27a827e..65eeea9 100644 (file)
@@ -12,6 +12,9 @@
 @site-footer-color: #ddf;
 @site-gutter-color: #fff;
 
+header, hgroup, section, footer, aside, nav, article, figure, img {
+       display: block;
+}
 
 body {
        margin: 0;