forked from xdumaine/ghost-aside
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
61 lines (50 loc) · 1.91 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
<!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"}}" />
<link rel="stylesheet" type="text/css" href="////brick.a.ssl.fastly.net/Droid+Serif:400,700,400italic|Open+Sans:700,400" />
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<header id="site-head"
{{#is "post"}}
{{#if post.image}}
style="background-image: url({{post.image}})"
{{else}}
{{#if @blog.cover}}
style="background-image: url({{@blog.cover}})"
{{/if}}
{{/if}}
{{else}}
{{#if @blog.cover}}
style="background-image: url({{@blog.cover}})"
{{/if}}
{{/is}}>
<div class="vertical">
<div id="site-head-content" class="inner">
{{#if @blog.logo}}<a id="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
<h1 class="blog-title">{{@blog.title}}</h1>
<h2 class="blog-description">{{@blog.description}}</h2>
{{navigation}}
</div>
</div>
</header>
{{! Everything else gets inserted here }}
{{{body}}}
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The main JavaScript file for Aside }}
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
</body>
</html>