Skip to content

Instantly share code, notes, and snippets.

@japboy
Created July 28, 2012 14:57
Show Gist options
  • Save japboy/3193680 to your computer and use it in GitHub Desktop.
Save japboy/3193680 to your computer and use it in GitHub Desktop.
My skeleton Jade file
!!! 5
html(lang='ja-JP')
head
meta(charset='UTF-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
block head-title
meta(name='viewport', content='width=device-width')
meta(name='author', content='Yu Inao')
meta(name='rights-standard', content='pd')
block head-meta
link(rel='stylesheet', href='//cdnjs.cloudflare.com/ajax/libs/normalize/2.0.1/normalize.css')
block head-style
script(src='//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js', charset='UTF-8')
body
block body-content
script(src='//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', charset='UTF-8')
script(src='//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.3/lodash.min.js', charset='UTF-8')
script(src='//cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.9/backbone-min.js', charset='UTF-8')
block body-script
extends _layout
block head-title
title gist-skel-jade
block head-meta
meta(name='keywords', content='key1,key2,key3')
meta(name='description', content='Description of this page')
block head-style
link(rel='stylesheet', href='./css/index.min.css')
//
[if IE]>
link(rel='stylesheet', href='./css/iefix.min.css')
<![endif]
block body-content
section
h1 gist-skel-jade
block body-script
script(src='./js/index.min.js', charset='UTF-8')
script
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment