forked from TryGhost/Dawn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.hbs
75 lines (63 loc) · 2.57 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
<!DOCTYPE html>
<html{{#match @custom.color_scheme "Dark"}} class="theme-dark"{{/match}}{{#match @custom.color_scheme "Light"}} class="theme-light"{{/match}} lang="{{@site.locale}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{meta_title}}</title>
<link rel="preload" href="{{asset "built/screen.css"}}" as="style">
<style>
@font-face {
font-family: 'Mulish';
font-style: italic;
font-display: swap;
src: url(https://fonts.gstatic.com/s/mulish/v5/1Pttg83HX_SGhgqk2jovaqQ.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Mulish';
font-style: normal;
font-display: swap;
src: url(https://fonts.gstatic.com/s/mulish/v5/1Ptvg83HX_SGhgqk3wot.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Lora';
font-style: italic;
font-display: swap;
src: url(https://fonts.gstatic.com/s/lora/v20/0QIhMX1D_JOuMw_LIftL.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Lora';
font-style: normal;
font-display: swap;
src: url(https://fonts.gstatic.com/s/lora/v20/0QIvMX1D_JOuMwr7Iw.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
</style>
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
<script>
var siteUrl = '{{@site.url}}';
</script>
{{ghost_head}}
<script defer src="{{asset "built/main.min.js"}}"></script>
</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}}">
{{> icons}}
<div class="site">
{{> header}}
{{#is "home"}}
{{> cover}}
{{#if @custom.show_featured_posts}}
{{> featured}}
{{/if}}
{{/is}}
<div class="site-content">
{{{body}}}
</div>
{{> footer}}
{{> pswp}}
</div>
{{ghost_foot}}
</body>
</html>