-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtemplate.html
70 lines (67 loc) · 1.75 KB
/
template.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
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$else$ lang="en"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>$title$</title>
<style type="text/css">
code {
white-space: pre-wrap;
word-wrap: break-word;
}
</style>
$if(quotes)$
<style type="text/css">
q {
quotes: "“" "”" "‘" "’";
}
</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(math)$
$math$
$endif$
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
<section>
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header>
<h1>$title$</h1>
$if(subtitle)$
<p>$subtitle$</p>
$endif$
$if(date)$
<p>$date$</p>
$endif$
</header>
$endif$
$if(toc)$
<div>
<h1 id="top">Table of Contents</h1>
<nav id="TOC">
$toc$
</nav>
</div>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</section>
</body>
</html>