-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.hbs
74 lines (58 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
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin="anonymous" />
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="preconnect" href="https://use.typekit.net" crossorigin="anonymous" />
<link rel="preconnect" href="https://p.typekit.net" crossorigin="anonymous" />
<link rel="dns-prefetch" href="https://www.googletagmanager.com" />
<link rel="dns-prefetch" href="https://www.google-analytics.com" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>
{{#is "home"}}
{{@site.title}} — {{@site.description}}
{{/is}}
{{#is "author"}}
{{! Obtain author name from the author template to bypass the following Gscan error: }}
{{! Error: The \{\{#author\}\} block helper should be replaced with \{\{#primary_author\}\} or \{\{#foreach authors\}\}...\{\{/foreach\}\} }}
{{! https://github.com/TryGhost/gscan/issues/365 }}
{{{block "title"}}}{{#is "paged"}} {{t "(Page {page})" page=pagination.page}}{{/is}} | {{@site.title}}
{{/is}}
{{#is "tag"}}
{{tag.name}}{{#is "paged"}} {{t "(Page {page})" page=pagination.page}}{{/is}} | {{@site.title}}
{{/is}}
{{^is "home, author, tag"}}
{{meta_title page=(t " (Page %)")}} | {{@site.title}}
{{/is}}
</title>
{{> "external/google-analytics"}}
{{> "external/cookie-consent"}}
{{{block "styles"}}}
<link rel="stylesheet" type="text/css" href="{{asset "built/css/main.min.css"}}" class="js-versioned-asset" />
<link rel="stylesheet" type="text/css" href="https://use.typekit.net/kwm0ygm.css" />
<link rel="manifest" href="{{@site.url}}/manifest.webmanifest" />
<link rel="apple-touch-icon" href="{{asset "icons/apple-touch-icon.png"}}" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="{{@site.title}}" />
<meta name="application-name" content="{{@site.title}}" />
<meta name="theme-color" content="#40bf4f" />
{{ghost_head}}
<meta name="twitter:dnt" content="on" />
<meta property="fb:admins" content="10212662066139495" />
</head>
<body class="site">
<div class="site__notifications print-hidden">
{{> "members/notifications"}}
</div>
{{> "header"}}
{{{body}}}
{{{block "snippets"}}}
<script src="{{asset "js/main.js"}}"></script>
<script src="{{asset "js/register-sw.js"}}"></script>
<script src="{{asset "js/cache-page-assets.js"}}"></script>
<script src="{{asset "js/members.js"}}"></script>
{{{block "scripts"}}}
{{ghost_foot}}
</body>
</html>