2013-05-11 10:16:11 +00:00
<!DOCTYPE html>
2019-04-02 04:36:14 +00:00
<html lang=" {{ @ site .lang }} ">
2013-05-11 10:16:11 +00:00
<head>
2017-05-15 20:03:47 +00:00
2016-05-08 08:50:20 +00:00
{{!-- Document Settings --}}
2013-12-28 10:41:19 +00:00
<meta charset="utf-8" />
2013-12-28 10:55:38 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2013-09-15 16:50:23 +00:00
2017-05-15 20:03:47 +00:00
{{!-- Base Meta --}}
2013-09-17 22:13:49 +00:00
<title> {{ meta_title }} </title>
2013-09-04 19:45:35 +00:00
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2013-09-15 16:50:23 +00:00
2016-05-08 08:50:20 +00:00
{{!-- Styles'n'Scripts --}}
2017-06-16 12:23:03 +00:00
<link rel="stylesheet" type="text/css" href=" {{ asset "built/screen.css" }} " />
2017-02-24 05:23:02 +00:00
2021-02-18 03:32:40 +00:00
{{ # if @ site .accent_color }}
<style>
:root {
--brand: {{ @ site .accent_color }} ;
}
</style>
{{ / if }}
2017-09-29 12:23:39 +00:00
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
2013-08-26 00:35:53 +00:00
{{ ghost_head }}
2017-05-15 20:03:47 +00:00
</head>
<body class=" {{ body_class }} ">
2015-02-27 14:48:15 +00:00
<div class="site-wrapper">
2016-05-08 08:50:20 +00:00
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
2015-02-27 14:48:15 +00:00
{{{ body }}}
2017-05-15 20:03:47 +00:00
{{!-- The footer at the very bottom of the screen --}}
<footer class="site-footer outer">
<div class="site-footer-content inner">
2019-01-08 17:19:51 +00:00
<section class="copyright"><a href=" {{ @ site .url }} "> {{ @ site .title }} </a> © {{ date format = "YYYY" }} </section>
2017-05-15 20:03:47 +00:00
<nav class="site-footer-nav">
2019-01-08 17:19:51 +00:00
<a href=" {{ @ site .url }} ">Latest Posts</a>
{{ # if @ site .facebook }} <a href=" {{ facebook_url @ site .facebook }} " target="_blank" rel="noopener">Facebook</a> {{ / if }}
{{ # if @ site .twitter }} <a href=" {{ twitter_url @ site .twitter }} " target="_blank" rel="noopener">Twitter</a> {{ / if }}
2021-03-02 01:34:12 +00:00
<a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a>
2017-05-15 20:03:47 +00:00
</nav>
</div>
2015-02-27 14:48:15 +00:00
</footer>
</div>
2013-08-28 19:07:18 +00:00
2019-10-20 13:55:06 +00:00
{{!-- jQuery, required for fitvids --}}
2017-06-08 07:19:22 +00:00
<script
2020-11-24 04:01:31 +00:00
src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
2017-06-21 12:10:09 +00:00
crossorigin="anonymous">
</script>
2019-10-20 13:55:06 +00:00
{{!-- Fitvids (for responsive video embeds), infinite scroll, floating header, and gallery card support --}}
<script src=" {{ asset "built/casper.js" }} "></script>
2017-06-21 12:10:09 +00:00
2019-10-21 05:43:34 +00:00
{{!-- Scripts for Members subscription --}}
<script>
// Parse the URL parameter
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
// Give the parameter a variable name
var action = getParameterByName('action');
2020-10-08 02:22:49 +00:00
var success = getParameterByName('success');
2019-10-21 05:43:34 +00:00
$(document).ready(function () {
2020-10-08 02:22:49 +00:00
if (action == 'subscribe' && (success === null || success === 'true')) {
$('body').addClass('subscribe-success');
}
if (action == 'subscribe' && success === 'false') {
$('body').addClass('subscribe-failure');
2019-10-21 05:43:34 +00:00
}
2020-10-08 02:22:49 +00:00
$('.subscribe-notification .subscribe-close-button').click(function () {
$('.subscribe-notification').addClass('close');
2019-10-21 05:43:34 +00:00
});
// Reset form on opening subscrion overlay
$('.subscribe-button').click(function() {
$('.subscribe-overlay form').removeClass();
$('.subscribe-email').val('');
});
});
</script>
2017-06-08 07:19:22 +00:00
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{ block "scripts" }}}
2017-05-15 20:03:47 +00:00
{{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
{{ ghost_foot }}
2013-09-02 21:12:24 +00:00
2013-05-11 10:16:11 +00:00
</body>
2013-11-28 13:41:52 +00:00
</html>