Instantly share code, notes, and snippets.

Embed
What would you like to do?
Boilerplate.v.5.2.0.jade
doctype html
html(class="no-js" lang="")
head
meta(charset="utf-8")
meta(http-equiv="x-ua-compatible" content="ie=edge")
title
meta(name="description" content="")
meta(name="viewport" content="width=device-width, initial-scale=1")
link(rel="apple-touch-icon" href="apple-touch-icon.png")
// Place favicon.ico in the root directory
link(rel="stylehseet" href="css/normalize.css")
link(rel="stylehseet" href="css/main.css")
script(src="js/vendor/modernizr-2.8.3.min.js")
body
<!--[if lt IE 8]>
p(class="browserupgrade") You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.
<![endif]-->
// Add your site or application content here
p Hello world! This is HTML5 Boilerplate.
script(src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js")
script window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')
script(src='js/plugins.js')
script(src='js/main.js')
//Google Analytics: change UA-XXXXX-X to be your site's ID.
script
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment