-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathdefault.hbs
70 lines (54 loc) · 2.29 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
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
{{! Document Settings }}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{! Page Meta }}
<title>{{meta_title}}{{#is "post, page"}} — {{@site.title}}{{/is}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="{{asset "css/main.css"}}" />
<!-- For speed, I’ve added the response from this link straight into defer.css-->
<!--<link rel="stylesheet" href="//brick.a.ssl.fastly.net/Source+Serif+Pro:400,700/Source+Sans+Pro:400,900,400i,900i/Alegreya:400i,700i">-->
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
<body class="{{body_class}}" id="body">
{{! Everything else gets inserted here }}
{{{body}}}
{{> footer}}
<!--
This generates a handsome modal menu and hamburger icon. If you want to use it, edit menu.hbs and add your links (line ~146), then remove the ! from this helper to activate it.
-->
{{#if @site.navigation}}
{{>menu}}
{{/if}}
<!-- Ghost outputs important scripts and data with this tag -->
{{ghost_foot}}
<!--
This loads katex.hbs in; if a page has anything with the class .math, katex.hbs loads Khan Academy’s Tex math typesetting library and runs it on the content.
If you don’t want to use KaTeX, comment this out.
-->
{{>katex}}
<script>
var cb = function() {
var l = document.createElement('link'); l.rel = 'stylesheet';
l.href = '{{asset "css/defer.css"}}';
var h = document.getElementsByTagName('head')[0];
h.parentNode.insertBefore(l, h);
};
var raf = requestAnimationFrame || mozRequestAnimationFrame ||
webkitRequestAnimationFrame || msRequestAnimationFrame;
if (raf) raf(cb);
else window.addEventListener('load', cb);
</script>
<script>
var siteTitle = "{{@site.title}}";
</script>
{{! The main JavaScript file for Mnml (Look, ma! No jQuery!)}}
<script async src="{{asset "js/index.js"}}"></script>
<script defer src="{{asset "js/prism.min.js"}}"></script>
</body>
</html>