Skip to content

Instantly share code, notes, and snippets.

@gemmaleigh
Created November 6, 2014 11:40
Show Gist options
  • Save gemmaleigh/e711dfec1a7ede9d263e to your computer and use it in GitHub Desktop.
Save gemmaleigh/e711dfec1a7ede9d263e to your computer and use it in GitHub Desktop.
template.html
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8" lang=""><![endif]-->
<!--[if gt IE 8]><!--><html lang=""><!--<![endif]-->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>{{$pageTitle}}{{/pageTitle}}</title>
<script type="text/javascript">
(function(){if(navigator.userAgent.match(/IEMobile\/10\.0/)){var d=document,c="appendChild",a=d.createElement("style");a[c](d.createTextNode("@-ms-viewport{width:auto!important}"));d.getElementsByTagName("head")[0][c](a);}})();
</script>
<!--[if lt IE 9]>
<script src="{{assetPath}}javascripts/ie.js?0.9.1" type="text/javascript"></script>
<![endif]-->
<!-- <link rel="shortcut icon" href="{{assetPath}}images/favicon.ico?0.9.1" type="image/x-icon" /> -->
<!-- Size for iPad and iPad mini (high resolution) -->
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{assetPath}}images/apple-touch-icon-152x152.png?0.9.1">
<!-- Size for iPhone and iPod touch (high resolution) -->
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{assetPath}}images/apple-touch-icon-120x120.png?0.9.1">
<!-- Size for iPad 2 and iPad mini (standard resolution) -->
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{assetPath}}images/apple-touch-icon-76x76.png?0.9.1">
<!-- Default non-defined size, also used for Android 2.1+ devices -->
<link rel="apple-touch-icon-precomposed" href="{{assetPath}}images/apple-touch-icon-60x60.png?0.9.1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="{{assetPath}}images/opengraph-image.png?0.9.1">
{{$head}}{{/head}}
</head>
<body class="{{$bodyClasses}}{{/bodyClasses}}">
<script type="text/javascript">document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
<div id="global-cookie-message">
<div class="outer-block">
<div class="inner-block">
{{$cookieMessage}}{{/cookieMessage}}
</div>
</div>
</div>
<!--end global-cookie-message-->
{{$afterHeader}}{{/afterHeader}}
{{$content}}{{/content}}
<script src="{{assetPath}}javascripts/govuk-template.js?0.9.1" type="text/javascript"></script>
{{$bodyEnd}}{{/bodyEnd}}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment