Created
May 7, 2012 09:07
-
-
Save bluestrike2/2626838 to your computer and use it in GitHub Desktop.
HTML5 Boilerplate meets Jade. It was love at first site, with some minor tweaks to give it some spice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta(charset='utf-8') | |
link(rel="dns-prefetch", href="//ajax.googleapis.com") | |
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1') | |
meta(name='keywords', content='') | |
meta(name='description', content='') | |
meta(name='author', content='') | |
meta(name='viewport', content='width=device-width') | |
meta(http-equiv='imagetoolbar', content='false') | |
link(rel='canonical', href='') | |
script | |
TypekitConfig = { | |
kitId: 'abc1def' | |
} | |
(function() { | |
var tk = document.createElement('script') | |
tk.src = '//use.typekit.com/' + TypekitConfig.kitId + '.js' | |
tk.type = 'text/javascript' | |
tk.async = 'true' | |
tk.onload = tk.onreadystatechange = function() { | |
var rs = this.readyState | |
if (rs && rs != 'complete' && rs != 'loaded') return | |
try { Typekit.load(TypekitConfig); } catch (e) {} | |
} | |
var s = document.getElementsByTagName('script')[0] | |
s.parentNode.insertBefore(tk, s) | |
})() | |
link(rel='stylesheet', href='/assets/stylesheets/app.css') | |
script(src="/assets/javascripts/head.min.js") | |
script | |
head.js( | |
"//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js", | |
"/assets/scripts/app.js" ) | |
link(rel="alternate", type="application/rss+xml", title="RSS", href="/feed.rss") | |
link(rel="author", href="/humans.txt") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header#header | |
#logo: a(href="#") Name | |
nav#nav | |
ul | |
li: a(href="#") Link | |
li: a(href="#") Link | |
li: a(href="#") Link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
//if lt IE 7 | |
html.no-js.lt-ie9.lt-ie8.lt-ie7(lang='en') | |
//if IE 7 | |
html.no-js.lt-ie9.lt-ie8(lang='en') | |
//if IE 8 | |
html.no-js.lt-ie9(lang='en') | |
//[if gt IE 8]><! | |
html.no-js(lang='en') | |
//<![endif] | |
head | |
title Page Title · Name | |
include _head | |
body | |
include _header | |
section#content | |
// have some content | |
include _footer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment