forked from starburst1977/readium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
executable file
·77 lines (75 loc) · 3.1 KB
/
default.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>{{meta_title}}</title>
<meta name="description" content="{{meta_description}}" />
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{meta_title}}">
<meta name="twitter:description" content="{{meta_description}}">
<meta name="twitter:site" content="http://awesomism.co.uk">
<meta name="twitter:creator" content="@haswalt">
<meta name="twitter:image:src" content="http://harrywalter.co.uk/images/me.jpg">
<meta property="fb:admins" content="544765701">
<meta property="og:type" content="article">
<meta property="og:title" content="{{meta_title}}">
<meta property="og:description" content="{{meta_description}}">
<link rel="stylesheet" type="text/css" href="//cdn1.awesomism.co.uk/assets/css/main.css">
{{ghost_head}}
<link rel="dns-prefetch" href="http://github.com">
<link rel="dns-prefetch" href="http://harywalter.co.uk">
</head>
<body class="{{body_class}}">
<div>
<div id="headroom">
<div class="headroom__container">
<h1 class="headroom__title"><a href="/">{{@blog.title}}</a></h1>
</div>
</div>
{{{body}}}
{{ghost_foot}}
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3530128-12', 'harrywalter.co.uk');
ga('send', 'pageview');
</script>
<script src="//cdn1.awesomism.co.uk/assets/js/require.js"></script>
<script>
require.config({
paths: {
readium: '//cdn1.awesomism.co.uk/assets/js/readium'
}
});
require(['readium']);
</script>
{{#unless posts}}
<script type="text/javascript" src="http://zor.livefyre.com/wjs/v3.0/javascripts/livefyre.js"></script>
<script type="text/javascript">
(function () {
var articleId = fyre.conv.load.makeArticleId(null);
fyre.conv.load({}, [{
el: 'livefyre-comments',
network: "livefyre.com",
siteId: "325750",
articleId: articleId,
signed: false,
collectionMeta: {
articleId: articleId,
url: fyre.conv.load.makeCollectionUrl(),
}
}], function() {});
}());
</script>
{{/unless}}
</body>
</html>