Skip to content

Instantly share code, notes, and snippets.

@bg17aw
Last active August 29, 2015 14:13
Show Gist options
  • Save bg17aw/18a6e2ae87e71231cc79 to your computer and use it in GitHub Desktop.
Save bg17aw/18a6e2ae87e71231cc79 to your computer and use it in GitHub Desktop.
<!-- HTML: HTML5,
CSS: conditional css for IE < 8, css-reset (or normalize.css), useful CSS (* {box-sizing: border-box;} .clearfix etc), rest css,
in the footer: load jquery, JS files, Google Tag Manager (put Analytics in GTM)
-->
<!-- Always use HTML5 doc type declaration -->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Prevent IE from switching to older rendering engine -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://demandware.edgesuite.net/aarc_prd/on/demandware.static/Sites-SCS-Site/-/default/v1421860442779/css/styleguide/ie.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="http://demandware.edgesuite.net/aarc_prd/on/demandware.static/Sites-SCS-Site/-/default/v1421860442779/css/flipclock.css">
<link rel="stylesheet" href="http://demandware.edgesuite.net/aarc_prd/on/demandware.static/Sites-SCS-Site/-/default/v1421860442779/css/style.css">
<!--<![endif]-->
<link rel="stylesheet" href="css/reset.css">
</head>
<body>
<footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- 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='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment