Skip to content

Instantly share code, notes, and snippets.

@efbenson
Created August 12, 2011 15:03
Show Gist options
  • Save efbenson/1142230 to your computer and use it in GitHub Desktop.
Save efbenson/1142230 to your computer and use it in GitHub Desktop.
html5 boilerplate jade
!!! 5
\<!--[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]-->
head
meta(charset='utf-8')
title='Bobsled Team'
meta(name='description', content'')
meta(name='keyword', content='')
meta(name='viewport', content='width=device-width; initial-scale=1.0')
link(rel='shortcut icon', href='/favicon.ico')
link(rel='apple-touch-icon', href='/apple-touch-icon.png')
link(rel='stylesheet', href='/stylesheets/lib/simpleModal.css')
link(rel='stylesheet', href='/stylesheets/lib/apprise.min.css')
link(rel='stylesheet', href='/stylesheets/style.css')
script(src='/javascripts/libs/modernizr-1.7.min.js')
body
#container
header!= partial('header')
#main!= body
footer!= partial('footer')
script(src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js")
\<script>!window.jQuery && document.write(unescape('%3Cscript src="javascripts/libs/jquery-1.5.1.js"%3E%3C/script%3E'))</script>
script(src='/javascripts/libs/jquery.simplemodal.1.4.1.min.js')
script(src='/javascripts/libs/apprise-1.5.min.js')
script(src="/javascripts/plugins.js")
script(src="/javascripts/script.js")
\<!--[if lt IE 7 ]>
\<script src="js/dd_belatedpng.js"></script>
\<script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
\<![endif]-->
script!= partial('googleanalytics')
\</html>
@mstarkman
Copy link

Comment this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment