Skip to content

Instantly share code, notes, and snippets.

@christopherdebeer
Forked from kmiyashiro/layout2.jade
Created July 9, 2012 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherdebeer/3077151 to your computer and use it in GitHub Desktop.
Save christopherdebeer/3077151 to your computer and use it in GitHub Desktop.
HTML5 Boilerplate Conditional comments in Jade
!!! 5
//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")
// <![endif]
head
title= title
body!= body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment