-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.html
193 lines (155 loc) · 4.5 KB
/
custom.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>
<!-- Based on TemplateMo 553 Xtra Blog: https://templatemo.com/tm-553-xtra-blog -->
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="$pagetitle$" />
<meta property="og:type" content="book" />
$if(url)$<meta property="og:url" content="$url$" />$endif$
$if(cover-image)$<meta property="og:image" content="$url$/$cover-image$" />$endif$
$if(description)$<meta property="og:description" content="$description$" />$endif$
$if(github-repo)$<meta name="github-repo" content="$github-repo$" />$endif$
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
$if(math)$
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
$math$
$endif$
<meta name="description" content="$if(description)$$description$$else$$pagetitle$$endif$">
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
$for(header-includes)$
$header-includes$
$endfor$
$if(highlightjs)$
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet"
href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css"
$if(html5)$$else$type="text/css" $endif$/>
<script src="$highlightjs$/highlight.js"></script>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
}
</script>
$endif$
$if(highlighting-css)$
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$endfor$
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/hamburgers.css" rel="stylesheet">
</head>
<body>
$for(include-before)$
$include-before$
$endfor$
<div class="main-content">
<!-- special comment to mark beginning of title section for bookdown -->
<!-- bookdown comments must be in this order: title, toc, body -->
<div class="main-content-wrapper">
<!--bookdown:title:start-->
<!-- This title section is only rendered to index.html -->
<div id="title-container">
$if(title)$
<h1 id="title-header">$title$</h1>
$if(subtitle)$
<h3 id="subtitle-header">$subtitle$</h3>
$endif$
$for(author)$
$if(author.name)$
<h4 class="author">$author.name$</h4>
$if(author.affiliation)$
<address class="author_afil">$author.affiliation$<br>
$endif$
$if(author.email)$
<a class="author_email" href="mailto:#">$author.email$</a></address>
$endif$
$else$
<h4 class="author">$author$</h4>
$endif$
$endfor$
$if(date)$
<h4 id="build-date">Version: $date$</h4>
$endif$
$if(abstract)$
<div class="abstract"><p>$abstract$</p></div>
$endif$
$endif$
</div>
<!--bookdown:title:end-->
<!--bookdown:toc:start-->
<header class="main-toc sidebar" id="sidebar">
<div class="sidebar-wrapper">
<button class="navbar-toggle hamburger hamburger--collapse" id="navbar-toggle"
type="button" onclick="navToggle()" aria-label="Toggle navigation">
<span class="hamburger-box"><span class="hamburger-inner"></span></span>
</button>
<div class="sidebar-title-wrapper">
<img alt="Logo" width="100" src="img/gispo_white_sm.png" class="sidebar-logo">
<div class="sidebar-title"><h1>$pagetitle$</h1></div>
$if(abstract)$
<div class="abstract-sidebar"><p>$abstract$</p></div>
$endif$
</div>
<nav class="sidebar-nav">
$if(toc)$
<div id="$idprefix$TOC" class="toc">
$toc$
</div>
$endif$
</nav>
</div>
</header>
<!--bookdown:toc:end-->
<!--bookdown:body:start-->
$body$
<!--bookdown:body:end-->
<footer class="footer text-center">
<div class="footer-container text-center">
<div class="footer-info">
$if(title)$
<h5 class="footer-title">$title$</h5>
$if(subtitle)$
<p class="footer-subtitle"><em>$subtitle$</em></p>
$endif$
$endif$
$if(date)$
<span class="footer-version">v$date$</span>
$endif$
<div class="license"><img src="img/by-nd.svg" width="80px" alt="CC-BY-ND"></div>
</div>
<div class="footer-info">
<h5 class="footer-title footer-company">Gispo Ltd.
<span class="footer-copyright-year">© 2023</span></h5>
<span class="footer-contact-info">Kumpulantie 3, 3. krs
<br>00520 Helsinki, Finland
</span>
</div>
</div>
</div>
</footer>
</div>
$for(include-after)$
$include-after$
$endfor$
<script src="js/nav-script.js"></script>
</body>
</html>