-
Notifications
You must be signed in to change notification settings - Fork 1
/
pandoc-template.html
79 lines (58 loc) · 1.35 KB
/
pandoc-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
79
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
<title>$if(site-title)$$site-title$ - $endif$$pagetitle$</title>
$for(css)$
<link rel="stylesheet" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body class="$body-class$">
$for(include-before)$
$include-before$
$endfor$
$if(site-title)$
<header class="$header-class$" role="banner">
<span class="site-title">$site-title$</span>
</header>
$endif$
$if(toc)$
<div class="container">
<nav class="$toc-class$">
$toc$
</nav>
<div>
$endif$
<div class="container">
$if(title)$
<h1 class="$title-class$">$title$</h1>
$endif$
<div class="$content-class$">
$body$
<div>
</div>
$if(author)$
<footer role="contentinfo" class="$footer-class$">
$for(author)$
<span class="author">$author$</span>
$endfor$
$if(date)$
<time class="date">$date$</time>
$endif$
</footer>
$endif$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>