forked from ianpaschal/revenant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.hbs
92 lines (78 loc) · 3.01 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
<!DOCTYPE html>
<html>
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Page Meta --}}
{{!--<title>{{meta_title</title>--}}
<title>
{{#if post.title}}
{{@blog.title}} | {{post.title}}
{{else if tag.name}}
{{@blog.title}} | {{tag.name}}
{{else if author.name}}
{{@blog.title}} | {{author.name}}
{{else}}
{{@blog.title}}
{{/if}}
</title>
<meta name="description" content="{{meta_description}}" />
{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Brand icon --}}
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" />
<link rel="stylesheet" type="text/css" href="{{asset "css/highlight/atom-one-dark.css"}}" />
<script type="text/javascript" src="{{asset "js/init.js"}}"></script>
<script type="text/javascript" src="{{asset "js/highlight.min.js"}}"></script>
{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div class="site-wrapper">
<div class="sidebar">
{{!-- HEADER --}}
{{#if @blog.logo}}
<div class="sidebar-section logo-header" id="site-header">
<a href="{{@blog.url}}">
<img class="blog-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
{{else}}
<div class="sidebar-section text-header" id="site-header">
<a href="{{@blog.url}}">
<h1 class="blog-title">{{@blog.title}}</h1>
{{/if}}
</a>
</div>
{{!-- DESCRIPTION --}}
<div class="sidebar-section" id="site-description">
<p>{{@blog.description}}</p>
</div>
<div class="sidebar-section" id="site-navigation">
{{navigation}}
</div>
<div class="sidebar-section" id="site-footer">
<p id="copyright">©{{date format="YYYY"}} <a href="{{@blog.url}}">{{@blog.title}}</a></p>
<p id="theme-credit">
<a href="https://github.com/ianpaschal/revenant">Revenant Theme</a> for <a href="https://ghost.org">Ghost</a>
</p>
</div>
</div>
<div class="content">
{{{body}}}
</div>
</div>
{{!-- jQuery needs to come before ghost_foot so that jQuery can be used in code injection --}}
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
{{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}}
{{!-- Fitvids makes video embeds responsive and awesome --}}
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{!-- The main JavaScript file for Casper --}}
<!--<script type="text/javascript" src="{{asset "js/index.js"}}"></script>-->
</body>
</html>