2013-05-11 06:16:11 -04:00
<!DOCTYPE html>
2019-04-02 00:36:14 -04:00
<html lang=" {{ @ site .lang }} ">
2013-05-11 06:16:11 -04:00
<head>
2017-05-15 16:03:47 -04:00
2016-05-08 04:50:20 -04:00
{{!-- Document Settings --}}
2013-12-28 05:41:19 -05:00
<meta charset="utf-8" />
2013-12-28 05:55:38 -05:00
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2013-09-15 12:50:23 -04:00
2017-05-15 16:03:47 -04:00
{{!-- Base Meta --}}
2013-09-17 18:13:49 -04:00
<title> {{ meta_title }} </title>
2013-09-04 15:45:35 -04:00
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2013-09-15 12:50:23 -04:00
2016-05-08 04:50:20 -04:00
{{!-- Styles'n'Scripts --}}
2017-06-16 08:23:03 -04:00
<link rel="stylesheet" type="text/css" href=" {{ asset "built/screen.css" }} " />
2017-02-24 00:23:02 -05:00
2017-09-29 08:23:39 -04:00
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
2013-08-25 20:35:53 -04:00
{{ ghost_head }}
2017-05-15 16:03:47 -04:00
</head>
<body class=" {{ body_class }} ">
2015-02-27 09:48:15 -05:00
<div class="site-wrapper">
2016-05-08 04:50:20 -04:00
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
2015-02-27 09:48:15 -05:00
{{{ body }}}
2017-05-15 16:03:47 -04:00
{{!-- The footer at the very bottom of the screen --}}
<footer class="site-footer outer">
<div class="site-footer-content inner">
2019-01-08 12:19:51 -05:00
<section class="copyright"><a href=" {{ @ site .url }} "> {{ @ site .title }} </a> © {{ date format = "YYYY" }} </section>
2017-05-15 16:03:47 -04:00
<nav class="site-footer-nav">
2019-01-08 12:19:51 -05: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 }}
2017-10-03 05:42:08 -04:00
<a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
2017-05-15 16:03:47 -04:00
</nav>
</div>
2015-02-27 09:48:15 -05:00
</footer>
</div>
2013-08-28 15:07:18 -04:00
2017-06-16 05:44:06 -04:00
{{!-- The big email subscribe modal content --}}
2019-10-21 01:43:34 -04:00
{{ # if @ labs .members }}
<div class="subscribe-success-message">
<a class="subscribe-close" href="javascript:;"></a>
You've successfully subscribed to {{ @ site .title }} !
</div>
2017-06-15 10:03:19 -04:00
<div id="subscribe" class="subscribe-overlay">
2019-10-21 01:43:34 -04:00
<a class="subscribe-close" href="#"></a>
2017-06-15 10:03:19 -04:00
<div class="subscribe-overlay-content">
2019-01-08 12:19:51 -05:00
{{ # if @ site .logo }}
<img class="subscribe-overlay-logo" src=" {{ @ site .logo }} " alt=" {{ @ site .title }} " />
2017-06-15 10:03:19 -04:00
{{ / if }}
2019-10-21 01:43:34 -04:00
<div class="subscribe-form">
<h1 class="subscribe-overlay-title">Subscribe to {{ @ site .title }} </h1>
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
<form data-members-form="subscribe">
<div class="form-group">
<input class="subscribe-email" data-members-email placeholder="youremail@example.com"
autocomplete="false" />
<button class="button primary" type="submit">
<span class="button-content">Subscribe</span>
<span class="button-loader"> {{ > "icons/loader" }} </span>
</button>
</div>
<div class="message-success">
<strong>Great!</strong> Check your inbox and click the link to confirm your subscription.
</div>
<div class="message-error">
Please enter a valid email address!
</div>
</form>
</div>
2017-06-15 10:03:19 -04:00
</div>
</div>
{{ / if }}
2019-10-20 09:55:06 -04:00
{{!-- jQuery, required for fitvids --}}
2017-06-08 03:19:22 -04:00
<script
2019-10-20 02:39:36 -04:00
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
2017-06-21 08:10:09 -04:00
crossorigin="anonymous">
</script>
2019-10-20 09:55:06 -04:00
{{!-- Fitvids (for responsive video embeds), infinite scroll, floating header, and gallery card support --}}
<script src=" {{ asset "built/casper.js" }} "></script>
2017-06-21 08:10:09 -04:00
2019-10-21 01:43:34 -04: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');
$(document).ready(function () {
if (action == 'subscribe') {
$('body').addClass("subscribe-success");
}
$('.subscribe-success-message .subscribe-close').click(function () {
$('.subscribe-success-message').addClass('close');
});
// Reset form on opening subscrion overlay
$('.subscribe-button').click(function() {
$('.subscribe-overlay form').removeClass();
$('.subscribe-email').val('');
});
});
</script>
2017-06-08 03:19:22 -04: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 16:03:47 -04: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 17:12:24 -04:00
2013-05-11 06:16:11 -04:00
</body>
2013-11-28 08:41:52 -05:00
</html>