-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
75 lines (64 loc) · 2.26 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
<html lang="{{@site.locale}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="{{asset 'built/index.css'}}" />
<script src="{{asset 'built/index.js'}}" defer></script>
<title>{{meta_title}}</title>
{{ghost_head}}
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.12.3/tocbot.css"
/>
{{! Outputs important meta data and settings, should always be in <head> }}
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark-dimmed.min.css"
/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"
></script>
<script>hljs.highlightAll();</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML"
></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} });
</script>
<link
href="https://cdn.jsdelivr.net/gh/sun-typeface/SUIT/fonts/static/woff2/SUIT.css"
rel="stylesheet"
/>
</head>
<body class="{{body_class}} bg-light">
<div class="flex flex-col min-h-screen">
{{> "header"}}
<main class="page">
{{{body}}}
{{! All content gets inserted here, index.hbs, post.hbs, etc }}
</main>
<footer class="gh-foot">
<div class="gh-container">
<div class="gh-foot-menu">
{{navigation type="secondary"}}
</div>
<div class="gh-foot-meta">
Published with
<a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
</div>
</div>
</footer>
</div>
{{! <foot> }}
{{ghost_foot}}
<script
src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.12.3/tocbot.min.js"
></script>
{{! Initialize Tocbot after you load the script }}
<script>
tocbot.init({ tocSelector: '.gh-toc', contentSelector: '.gh-content',
headingSelector: 'h1, h2, h3', hasInnerContainers: true, });
</script>
{{! Outputs important scripts - should always be included before closing body tag }}
</body>
</html>