2013-05-11 06:16:11 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<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-05-15 16:03:47 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{asset "assets/public/screen.css"}}" />
|
2017-02-24 00:23:02 -05:00
|
|
|
|
2017-05-15 16:03:47 -04:00
|
|
|
{{!-- This tag outputes 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">
|
|
|
|
<section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> © {{date format="YYYY"}}</section>
|
|
|
|
<nav class="site-footer-nav">
|
|
|
|
<a href="{{@blog.url}}">Latest Posts</a>
|
|
|
|
{{#if @blog.facebook}}<a href="{{facebook_url}}">Facebook</a>{{/if}}
|
|
|
|
{{#if @blog.twitter}}<a href="{{twitter_url}}">Twitter</a>{{/if}}
|
|
|
|
<a href="https://ghost.org" target="_blank">About Ghost</a>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2015-02-27 09:48:15 -05:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
</div>
|
2013-08-28 15:07:18 -04:00
|
|
|
|
2017-05-15 16:03:47 -04:00
|
|
|
{{!-- jQuery + Fitvids, which makes all video embeds responsive --}}
|
2016-10-13 19:03:11 -04:00
|
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-1.12.0.min.js"></script>
|
2013-11-28 08:41:52 -05:00
|
|
|
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
|
2017-05-15 16:03:47 -04:00
|
|
|
<script>
|
|
|
|
|
|
|
|
// TODO: Only include this on post.hbs - preferably put in floating-header.hbs and pass up to ghost_foot via block helper or similar.
|
|
|
|
$(function() {
|
2017-05-31 14:09:50 -04:00
|
|
|
var $postContent = $(".post-full-content");
|
|
|
|
$postContent.fitVids();
|
|
|
|
|
2017-05-15 16:03:47 -04:00
|
|
|
$(window).scroll(function() {
|
|
|
|
var header = $(".floating-header");
|
|
|
|
var title = $(".post-full-title");
|
|
|
|
var trigger = title.offset().top;
|
|
|
|
var scroll = $(window).scrollTop();
|
|
|
|
|
|
|
|
if (scroll >= trigger + title.height() + 35 ) {
|
|
|
|
header.addClass("floating-active");
|
|
|
|
} else {
|
|
|
|
header.removeClass("floating-active");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{{!-- 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>
|