-
Notifications
You must be signed in to change notification settings - Fork 6
/
template.html
78 lines (74 loc) · 1.88 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
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8"/>
<meta name="generator" content="pandoc"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>
$for(author-meta)$
<meta name="author" content="$author-meta$"/>
$endfor$
$if(date-meta)$
<meta name="pubdate" content="$date-meta$"/>
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"/>
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style type="text/css">
body { max-width: 42em; margin: 1em auto; padding: 0 1em; line-height: 1.4; color: #333; }
h1, h2, h3 { line-height: 1.0; }
code { white-space: pre; }
.subtitle { font-size: 1.5em; font-weight: bold; }
.author { font-size: 1.1em; font-style: italic; }
.date { display: block; font-style: italic; }
$if(quotes)$
q { quotes: "“" "”" "‘" "’"; }
$endif$
$if(highlighting-css)$
$highlighting-css$
$endif$
</style>
$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>
$for(include-before)$
$include-before$
$endfor$
<article role="main">
$if(title)$
<header>
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<time class="date">$date$</time>
$endif$
</header>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
$body$
</article>
$for(include-after)$
$include-after$
$endfor$
</body>
</html>