diff options
Diffstat (limited to 'res/template.html')
-rw-r--r-- | res/template.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/res/template.html b/res/template.html new file mode 100644 index 0000000..bacb376 --- /dev/null +++ b/res/template.html | |||
@@ -0,0 +1,72 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$> | ||
3 | <head> | ||
4 | <meta charset="utf-8" /> | ||
5 | <meta name="generator" content="pandoc" /> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | ||
7 | $for(author-meta)$ | ||
8 | <meta name="author" content="$author-meta$" /> | ||
9 | $endfor$ | ||
10 | $if(date-meta)$ | ||
11 | <meta name="dcterms.date" content="$date-meta$" /> | ||
12 | $endif$ | ||
13 | $if(keywords)$ | ||
14 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | ||
15 | $endif$ | ||
16 | $if(description-meta)$ | ||
17 | <meta name="description" content="$description-meta$" /> | ||
18 | $endif$ | ||
19 | <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | ||
20 | <style> | ||
21 | $styles.html()$ | ||
22 | </style> | ||
23 | $for(css)$ | ||
24 | <link rel="stylesheet" href="$css$" /> | ||
25 | $endfor$ | ||
26 | $if(math)$ | ||
27 | $math$ | ||
28 | $endif$ | ||
29 | <!--[if lt IE 9]> | ||
30 | <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> | ||
31 | <![endif]--> | ||
32 | $for(header-includes)$ | ||
33 | $header-includes$ | ||
34 | $endfor$ | ||
35 | </head> | ||
36 | <body> | ||
37 | <nav class="summary"> | ||
38 | $summary$ | ||
39 | </nav> | ||
40 | <main> | ||
41 | $for(include-before)$ | ||
42 | $include-before$ | ||
43 | $endfor$ | ||
44 | $if(title)$ | ||
45 | <header id="title-block-header"> | ||
46 | <h1 class="title">$title$</h1> | ||
47 | $if(subtitle)$ | ||
48 | <p class="subtitle">$subtitle$</p> | ||
49 | $endif$ | ||
50 | $for(author)$ | ||
51 | <p class="author">$author$</p> | ||
52 | $endfor$ | ||
53 | $if(date)$ | ||
54 | <p class="date">$date$</p> | ||
55 | $endif$ | ||
56 | </header> | ||
57 | $endif$ | ||
58 | $if(toc)$ | ||
59 | <nav id="$idprefix$TOC" role="doc-toc"> | ||
60 | $if(toc-title)$ | ||
61 | <h2 id="$idprefix$toc-title">$toc-title$</h2> | ||
62 | $endif$ | ||
63 | $table-of-contents$ | ||
64 | </nav> | ||
65 | $endif$ | ||
66 | $body$ | ||
67 | $for(include-after)$ | ||
68 | $include-after$ | ||
69 | $endfor$ | ||
70 | </main> | ||
71 | </body> | ||
72 | </html> | ||