-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathdefault.hbs
98 lines (61 loc) · 1.94 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
96
97
98
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{meta_title}}</title>
<meta name="viewport" content="width=device-width">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="{{asset 'css/style.css'}}" rel="stylesheet" />
<link href="{{asset 'css/colors-dark.css'}}" rel="stylesheet" />
{{ghost_head}}
</head>
<body class="{{body_class}}">
{{#if @blog.cover}}
<div id="coverimg" style="background-image: url({{@blog.cover}})"></div>
{{/if}}
<header id="header">
{{#if @blog.logo}}
<a id="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" /></a>
{{else}}
<h1><a href="{{@blog.url}}"><i class="icon-sun"></i> {{@blog.title}}</a></h1>
{{/if}}
<p>{{@blog.description}}</p>
</header>
<div id="page">
<div id="sidebar">
<nav>
<ul>
<li><a href="{{@blog.url}}">Home</a></li>
<li><a href="http://twitter.com/redwall_hp">Twitter</a></li>
<li><a href="{{@blog.url}}/rss/">RSS Feed</a></li>
</ul>
</nav>
{{#post}}
{{#if author}}
<div class="bio">
<img class="avatar" src="{{author.image}}" />
<h3>{{author.name}}</h3>
<p>{{author.bio}}</p>
</div>
{{/if}}
{{/post}}
</div>
<div id="content">
{{{body}}}
</div>
</div>
<footer id="footer">
<p class="copyright">Copyright © {{date format='YYYY'}} {{@blog.title}}. Powered by <a href="http://ghost.org">Ghost</a>, theme by <a href="http://www.webmaster-source.com">Matt Harzewski</a></p>
</footer>
{{ghost_foot}}
<script src="{{asset 'js/jquery.mobilemenu.min.js'}}"></script>
<script src="{{asset 'js/prism.js'}}"></script>
<script>
$(document).ready(function(){
$('#sidebar nav ul').mobileMenu({'topOptionText': 'Menu', 'prependTo': '#sidebar nav'});
});
</script>
</body>
</html>