forked from jamesramsay/ghost-incorporated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.hbs
94 lines (79 loc) · 3.6 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
{{! Document Settings }}
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
{{! Page Meta }}
<title>{{meta_title}}</title>
<meta name="description" content="{{meta_description}}" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
{{! Open Graph & Twitter Cards }}
<!-- <link rel="canonical" href="{{url absolute="true"}}"> -->
<meta property="og:title" content="{{meta_title}}"/>
<meta property="og:description" content="{{@blog.description}}"/>
<!-- <meta property="og:url" content="{{url absolute="true"}}"/> -->
<meta property="og:site_name" content="{{@blog.title}}">
<meta property="twitter:card" content="summary"/>
<meta property="twitter:title" content="{{meta_title}}"/>
<meta property="twitter:description" content="{{@blog.description}}"/>
{{#if @blog.cover}}
<meta property="og:image" content="{{@blog.url}}{{@blog.cover}}"/>
<meta property="twitter:image" content="{{@blog.url}}{{@blog.cover}}"/>
{{/if}}
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<section class="site-nav">
<header>
<nav id="navigation">
{{#if @blog.logo}}<a class="brand" href="/">
<img src="{{@blog.logo}}" alt="{{@blog.title}}">
</a>{{/if}}
<a href="{{@blog.url}}" class="home">Blog</a>
{{> menu }}
</nav>
{{! TODO: Tagline/link support }}
{{> tagline }}
</header>
</section>
{{! Everything else gets inserted here }}
{{{body}}}
<footer class="site-footer">
<div class="container">
© <script>document.write(new Date().getFullYear())</script><noscript>2013</noscript>
<nav>
<a href="{{@blog.url}}">Blog</a>
{{> menu }}
</nav>
<nav class="social">
{{> social }}
<a class="icon-feed" href="{{@blog.url}}/rss/" title="RSS Feed"><span class="hidden">RSS Feed</span></a>
</nav>
<p><a href="https://github.com/jamesramsay/ghost-incorporated">Incorporated for Ghost</a> by <a href="https://jramsay.com.au">JR</a>. Proudly powered by <a class="poweredby icon-ghost" href="http://ghost.org">Ghost</a>.</p>
</div>
</footer>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The main JavaScript file for Incorporated }}
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
{{! Google Analytics }}
<script type="text/javascript">
{{> config}}
(function(g,h,o,s,t,z){g.GoogleAnalyticsObject=s;g[s]||(g[s]=
function(){(g[s].q=g[s].q||[]).push(arguments)});g[s].s=+new Date;
t=h.createElement(o);z=h.getElementsByTagName(o)[0];
t.src='//www.google-analytics.com/analytics.js';
z.parentNode.insertBefore(t,z)}(window,document,'script','ga'));
ga('create',ga_ua);ga('send','pageview');
</script>
{{! Non-blocking assets }}
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Sans:400,700" />
<script src="{{asset "js/prism.js"}}"></script>
</body>
</html>