Skip to content

Instantly share code, notes, and snippets.

@warengonzaga
Created September 9, 2016 09:00
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 warengonzaga/c865b0ff034ed3084015a8b13b607afa to your computer and use it in GitHub Desktop.
Save warengonzaga/c865b0ff034ed3084015a8b13b607afa to your computer and use it in GitHub Desktop.
This is the version of HTML5 Boilerplate in Jade!
doctype html
html.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='stylesheet', href='css/normalize.css')
link(rel='stylesheet', href='css/main.css')
script(src='js/vendor/modernizr-2.8.3.min.js')
body
//if lt IE 8
p.browserupgrade
| You are using an
strong outdated
| browser. Please
a(href='http://browsehappy.com/') upgrade your browser
| to improve your experience.
// Add your site or application content here
p Hello world! This is HTML5 Boilerplate.
script(src='https://code.jquery.com/jquery-1.12.4.min.js')
script.
window.jQuery || document.write('<script src="js/vendor/jquery-1.12.4.min.js"><\\/script>')
script(src='js/plugins.js')
script(src='js/main.js')
// Google Analytics: change UA-XXXXX-Y to be your site's ID.
script.
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
script(src='https://www.google-analytics.com/analytics.js', async='', defer='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment