diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..970848f --- /dev/null +++ b/templates/default.html | |||
@@ -0,0 +1,55 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html$if(lang)$ lang="$lang$"$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 | <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title> | ||
14 | <style type="text/css">code{white-space: pre;}</style> | ||
15 | <!--[if lt IE 9]> | ||
16 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
17 | <![endif]--> | ||
18 | $if(quotes)$ | ||
19 | <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> | ||
20 | $endif$ | ||
21 | $if(highlighting-css)$ | ||
22 | <style type="text/css"> | ||
23 | $highlighting-css$ | ||
24 | </style> | ||
25 | $endif$ | ||
26 | $for(css)$ | ||
27 | <link rel="stylesheet" href="$css$"> | ||
28 | $endfor$ | ||
29 | $if(math)$ | ||
30 | $math$ | ||
31 | $endif$ | ||
32 | $for(header-includes)$ | ||
33 | $header-includes$ | ||
34 | $endfor$ | ||
35 | </head> | ||
36 | <body> | ||
37 | $for(include-before)$ | ||
38 | $include-before$ | ||
39 | $endfor$ | ||
40 | $if(title)$ | ||
41 | <header> | ||
42 | <h1 class="title"><a href="/" title="dirty-haskell.org">dirty-haskell.org</a>: $title$</h1> | ||
43 | </header> | ||
44 | $endif$ | ||
45 | $if(toc)$ | ||
46 | <nav id="$idprefix$TOC"> | ||
47 | $toc$ | ||
48 | </nav> | ||
49 | $endif$ | ||
50 | $body$ | ||
51 | $for(include-after)$ | ||
52 | $include-after$ | ||
53 | $endfor$ | ||
54 | </body> | ||
55 | </html> | ||