Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed boilerplate layout

  • Loading branch information...
commit 2319c193d05262dd96244904ea444f22f150ab2f 1 parent 1bc9459
@puzrin puzrin authored
Showing with 20 additions and 19 deletions.
  1. +1 −0  HISTORY.md
  2. +19 −19 skins/default/templates/layout.jade
View
1  HISTORY.md
@@ -2,6 +2,7 @@
------------------
* Fixed highlight of last menu item after scroll, closes #17
+* Fixed boilerplate layout
1.0.1 / 2011-12-07
View
38 skins/default/templates/layout.jade
@@ -1,27 +1,25 @@
include lib
-!!! true
-//if lt IE 7
- <html class="no-js ie6 oldie" lang="en">
-//if IE 7
- <html class="no-js ie7 oldie" lang="en">
-//if IE 8
- <html class="no-js ie8 oldie" lang="en">
-//if gt IE 8
- <html class="no-js" lang="en">
+!!! 5
+<!--[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(charset="utf-8")
+ meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
+
+ title #{title}
- <title>#{title}</title>
- <meta name="generator" content="ndoc">
- <meta name="description" content="">
- <meta name="author" content="">
+ meta(name="generator", content="ndoc")
+ meta(name="description", content="")
+ meta(name="author", content="")
- <meta name="viewport" content="width=device-width,initial-scale=1">
+ meta(name="viewport", content="width=device-width,initial-scale=1")
- <!-- CSS concatenated and minified via ant build script-->
- <link rel="stylesheet" href="stylesheets/main.css">
- <!-- end CSS-->
+ // CSS concatenated and minified via ant build script
+ link(rel="stylesheet", href="stylesheets/main.css")
+ // end CSS
script(src="javascripts/modernizr-2.0.6.min.js")
@@ -72,3 +70,5 @@ body
script(src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js")
script
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
+
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.