forked from TryGhost/Ease
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
47 lines (39 loc) · 1.5 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
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{meta_title}}</title>
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap">
<script>
var siteUrl = '{{@site.url}}';
{{#if @custom.content_api_key_for_search}}
var gh_search_key = '{{@custom.content_api_key_for_search}}';
{{/if}}
</script>
{{ghost_head}}
</head>
<body class="{{body_class}}{{block "body_class"}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}">
<div class="site">
{{> header}}
{{#is "home"}}
{{> cover}}
{{/is}}
<div class="site-content">
{{{body}}}
</div>
{{> footer}}
</div>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous">
</script>
<script src="{{asset "built/main.min.js"}}"></script>
{{{block "scripts"}}}
{{ghost_foot}}
</body>
</html>