-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.hbs
63 lines (52 loc) · 2.05 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
<!DOCTYPE html>
<html lang="{{@site.locale}}" dir="ltr">
<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" href="{{asset "built/screen.css"}}">
<link rel="stylesheet" href="{{asset "built/fabric.css"}}">
<link rel="stylesheet" href="{{asset "dist/highlightjs/styles/vs2015.css"}}" />
<link rel="stylesheet" href="{{asset "dist/cookieconsent.min.css"}}" />
{{!-- Ghost Reusable Settings --}}
<script type="text/javascript">
var _ghostPageContext = { siteUrl: '{{@site.url}}', lang: '{{@site.locale}}', timezone: '{{@site.timezone}}' };
</script>
{{ghost_head}}
</head>
<body class="ms-Fabric {{body_class}} {{{block "body_class"}}}">
<div class="fluentPage">
{{> headersuitebar}}
{{> header}}
<div class="site-mainContent">
<div class="site-wrapper">
<main class="site-content">
{{{body}}}
</main>
{{> footer}}
</div>
</div>
</div>
<script src="{{asset "dist/jquery-3.5.1.min.js"}}" type="text/javascript"></script>
{{#is "post, page"}}
{{!-- https://highlightjs.org/download/ --}}
<script src="{{asset "dist/highlightjs/highlight.pack.js"}}" type="text/javascript"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('pre code').forEach((block) => {
hljs.highlightBlock(block);
});
});
</script>
{{/is}}
<script src="{{asset "dist/cookieconsent.min.js"}}" type="text/javascript"></script>
<script src="{{asset "built/ghost-fluentui.js"}}" type="text/javascript"></script>
{{{block "scripts"}}}
{{ghost_foot}}
</body>
</html>