This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
forked from TryGhost/Massively
-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.hbs
83 lines (66 loc) · 2.8 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
<!DOCTYPE html>
<html lang="{{@site.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}}>
{{!-- Intro --}}
{{#is "home"}}
<div id="intro">
<h1>{{@site.title}}</h1>
<p>{{@site.description}}</p>
<ul class="actions">
<li><a href="#header" class="button icon solo fa-arrow-down scrolly">Continue</a></li>
</ul>
</div>
{{/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>{{t "author"}} <a href='https://gaspard.dhautefeuille.eu'>Gaspard d'Hautefeuille</a></li>
</ul>
</div>
</div>
{{!-- Theme Scripts --}}
<script src="{{asset "main/js/jquery.min.js"}}"></script>
<script src="{{asset "main/js/jquery.scrollex.min.js"}}"></script>
<script src="{{asset "main/js/jquery.scrolly.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>