-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
executable file
·95 lines (79 loc) · 3.34 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
95
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{@blog.description}}">
<link rel="stylesheet" type="text/css" href="{{asset 'app.css' }}" />
<link rel="shortcut icon" type="image/x-icon" href="{{ asset 'img/favicon.ico' }}">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{{#if post}}
<title>{{post.title}} | {{@blog.title}}</title>
{{else}}
<title>{{@blog.title}}</title>
{{/if}}
{{!-- Twitter Card and Open Graph --}}
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="wizarddev">
<meta property="og:site_name" content="{{@blog.title}}">
{{#if post}}
{{#post}}
<meta name="twitter:title" content="{{post.title}}">
<meta property="og:title" content="{{post.title}}">
<meta property="og:type" content="article">
<meta name="twitter:description" content="{{post.excerpt}}">
<meta property="og:description" content="{{post.excerpt}}">
<meta name="twitter:creator" content="{{post.author.name}}">
<meta name="article:author" content="{{post.author.name}}">
{{!-- <meta name="twitter:image:src" content="https://pbs.twimg.com/profile_images/378800000818490305/0928b66e8c3b0f5971199d91d05f5e32.jpeg"> --}}
{{!-- <meta property="og:image" content="{{! TODO: ADD GRAVATAR URL HERE }}"> --}}
{{/post}}
{{else}}
<meta name="twitter:title" content="{{@blog.title}}">
<meta property="og:title" content="{{@blog.title}}">
<meta property="og:type" content="website">
<meta name="twitter:description" content="{{@blog.description}}">
<meta property="og:description" content="{{@blog.description}}">
<meta name="twitter:creator" content="{{@blog.title}}">
{{/if}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div class="wrapper">
{{! Menu }}
<nav class="nav">
<a class="logo" href="{{@blog.url}}"><h1>{{@blog.title}}</h1></a>
<ul class="nav-primary">
{{! TODO: Add URLs here }}
<li><a href="http://www.wizarddevelopment.com/">Home</a></li>
<li><a href="{{@blog.url}}">Blog</a></li>
</ul>
</nav>
{{! Everything else gets inserted here }}
{{{body}}}
<footer class="footer">
<div class="back-to-top"><a href="">Back to top</a></div>
<div class="psi">Ψ</div>
<aside class="offsite-links">
<a class="twitter-link" href="http://www.wizarddevelopment.com">Home</a> /
<a class="twitter-link" href="https://twitter.com/wizarddev">Twitter</a> /
<a class="rss-link" href="{{ @blog.url }}/rss">RSS</a>
</aside>
</footer>
</div> {{! End of wrapper }}
{{! Scripts }}
{{ghost_foot}}
<script src="{{ asset 'app.js' }}"></script>
<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-51235003-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>