govuk_template_ejs
Version:
Embedded JavaScript packaged version of the GOV.UK template
110 lines (75 loc) • 5.3 kB
HTML
<%- partial('partials/_top_of_page') %>
<!--[if lt IE 9]><html class="lte-ie8" lang="<% if (htmlLang) { %><%= htmlLang %><% } else { %>en<% } %>"><![endif]-->
<!--[if gt IE 8]><!--><html lang="<% if (htmlLang) { %><%= htmlLang %><% } else { %>en<% } %>"><!--<![endif]-->
<head>
<meta charset="utf-8" />
<title><%- partial('partials/_page_title') %></title>
<!--[if gt IE 8]><!--><link rel="stylesheet" media="screen" href="<%= govukTemplateAssetPath %>stylesheets/govuk-template.css?0.26.0"/><!--<![endif]-->
<!--[if IE 6]><link rel="stylesheet" media="screen" href="<%= govukTemplateAssetPath %>stylesheets/govuk-template-ie6.css?0.26.0"/><![endif]-->
<!--[if IE 7]><link rel="stylesheet" media="screen" href="<%= govukTemplateAssetPath %>stylesheets/govuk-template-ie7.css?0.26.0"/><![endif]-->
<!--[if IE 8]><link rel="stylesheet" media="screen" href="<%= govukTemplateAssetPath %>stylesheets/govuk-template-ie8.css?0.26.0"/><![endif]-->
<link rel="stylesheet" media="print" href="<%= govukTemplateAssetPath %>stylesheets/govuk-template-print.css?0.26.0"/>
<link rel="stylesheet" media="all" href="<%= govukTemplateAssetPath %>stylesheets/fonts.css?0.26.0"/>
<!--[if lt IE 9]><script src="<%= govukTemplateAssetPath %>javascripts/ie.js?0.26.0"></script><![endif]-->
<link rel="shortcut icon" href="<%= govukTemplateAssetPath %>images/favicon.ico?0.26.0" type="image/x-icon" />
<link rel="mask-icon" href="<%= govukTemplateAssetPath %>images/gov.uk_logotype_crown.svg?0.26.0" color="#0b0c0c">
<link rel="apple-touch-icon" sizes="180x180" href="<%= govukTemplateAssetPath %>images/apple-touch-icon-180x180.png?0.26.0">
<link rel="apple-touch-icon" sizes="167x167" href="<%= govukTemplateAssetPath %>images/apple-touch-icon-167x167.png?0.26.0">
<link rel="apple-touch-icon" sizes="152x152" href="<%= govukTemplateAssetPath %>images/apple-touch-icon-152x152.png?0.26.0">
<link rel="apple-touch-icon" href="<%= govukTemplateAssetPath %>images/apple-touch-icon.png?0.26.0">
<meta name="theme-color" content="#0b0c0c" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<%- partial('partials/_head') %>
<meta property="og:image" content="<%= govukTemplateAssetPath %>images/opengraph-image.png?0.26.0">
</head>
<body class="<%= bodyClasses %>">
<script>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
<%- partial('partials/_body_start') %>
<div id="skiplink-container">
<div>
<a href="#content" class="skiplink"><% if (skipLinkMessage) { %><%= skipLinkMessage %><% } else { %>Skip to main content<% } %></a>
</div>
</div>
<div id="global-cookie-message">
<%- partial('partials/_cookie_message') %>
</div>
<header role="banner" id="global-header" class="<% if (headerClass) { %><%= headerClass %><% } %>">
<div class="header-wrapper">
<div class="header-global">
<div class="header-logo">
<a href="<% if (homepageUrl) { %><%= homepageUrl %><% } else { %>https://www.gov.uk/<% } %>" title="<% if (logoLinkTitle) { %><%= logoLinkTitle %><% } else { %>Go to the GOV.UK homepage<% } %>" id="logo" class="content" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
<img src="<%= govukTemplateAssetPath %>images/gov.uk_logotype_crown_invert_trans.png?0.26.0" width="36" height="32" alt=""> <% if (globalHeaderText) { %><%= globalHeaderText %><% } %>
</a>
</div>
<%- partial('partials/_inside_header') %>
</div>
<%- partial('partials/_proposition_header') %>
</div>
</header>
<%- partial('partials/_after_header') %>
<div id="global-header-bar"></div>
<%- partial('partials/_content') %>
<footer class="group js-footer" id="footer" role="contentinfo">
<div class="footer-wrapper">
<%- partial('partials/_footer_top') %>
<div class="footer-meta">
<div class="footer-meta-inner">
<%- partial('partials/_footer_support_links') %>
<div class="open-government-licence">
<p class="logo"><a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence</a></p>
<%- partial('partials/_licence_message') %>
</div>
</div>
<div class="copyright">
<a href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/"><% if (crownCopyrightMessage) { %><%= crownCopyrightMessage %><% } else { %>© Crown copyright<% } %></a>
</div>
</div>
</div>
</footer>
<div id="global-app-error" class="app-error hidden"></div>
<script src="<%= govukTemplateAssetPath %>javascripts/govuk-template.js?0.26.0"></script>
<%- partial('partials/_body_end') %>
<script>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
</body>
</html>