-
-
Notifications
You must be signed in to change notification settings - Fork 146
/
default.hbs
68 lines (54 loc) · 2.71 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
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<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"}}" />
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
</head>
<body class="is-preload {{body_class}}{{#match @custom.title_font "=" "Modern sans-serif"}} has-sans-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}">
<div id="wrapper">
<main id="main">
<div class="inner">
{{!-- 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}}
<ul class="icons">
{{#if @site.twitter}}
<li><a href="{{twitter_url @site.twitter}}" class="icon fa-twitter" title="Twitter"><span class="label">Twitter</span></a></li>
{{/if}}
{{#if @site.facebook}}
<li><a href="{{facebook_url @site.facebook}}" class="icon fa-facebook" title="Facebook"><span class="label">Facebook</span></a></li>
{{/if}}
<li><a href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" class="icon fa-rss" target="_blank" rel="noopener"><span class="label" title="RSS">RSS</span></a></li>
</ul>
</header>
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
</div>
</main>
{{!-- The left sidebar - partials/sidebar.hbs --}}
{{> sidebar}}
</div>
{{!-- Theme Scripts --}}
<script src="{{asset "main/js/jquery.min.js"}}"></script>
<script src="{{asset "main/js/browser.min.js"}}"></script>
<script src="{{asset "main/js/breakpoints.min.js"}}"></script>
<script src="{{asset "main/js/util.js"}}"></script>
<script src="{{asset "main/js/main.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>