-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.hbs
66 lines (50 loc) · 2.03 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
<!DOCTYPE html>
<html lang="{{lang}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Base Meta --}}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "main/css/main.css"}}" />
<noscript><link rel="stylesheet" href="{{asset "main/css/noscript.css"}}" /></noscript>
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
{{#if @site.cover_image}}
<style>#wrapper>.bg {background-image: url({{asset "images/overlay.png"}}),linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)),url("{{img_url @site.cover_image}}") }</style>
{{/if}}
</head>
<body class="is-preload {{body_class}}">
<div id="wrapper" {{#is "home"}}class="fade-in"{{/is}}>
{{!-- Header --}}
<header id="header">
{{#if @site.logo}}
<a href="{{@site.url}}" class="logo image"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
{{else}}
<a href="{{@site.url}}" class="logo">{{@site.title}}</a>
{{/if}}
</header>
{{!-- Nav --}}
{{#if @site.navigation}}
{{navigation}}
{{/if}}
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
{{!-- The footer at the very bottom of the screen --}}
<div id="copyright">
<ul>
<li>© {{@site.title}}</li>
<li>Published with Ghost</li>
</ul>
</div>
</div>
{{!-- Theme Scripts --}}
<script src="{{asset "main/js/bundle.js" }}"></script>
{{!-- Ghost outputs important scripts & data with the {ghost_foot} tag
it should always be the very last thing before the closing body tag --}}
{{ghost_foot}}
</body>
</html>