about summary refs log tree commit diff stats
path: root/.template.html
diff options
context:
space:
mode:
Diffstat (limited to '.template.html')
-rw-r--r--.template.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/.template.html b/.template.html new file mode 100644 index 0000000..e5995f3 --- /dev/null +++ b/.template.html
@@ -0,0 +1,80 @@
1<!DOCTYPE html>
2<!-- Template for compiled 'Autocento' documents -->
3<html$if(lang)$ lang="$lang$"$endif$>
4<head>
5 <meta charset="utf-8">
6 <meta name="generator" content="pandoc">
7 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
8 <meta name="author" content="Case Duckworth">
9 <!-- more meta tags here -->
10 <title>$title$ | Autocento of the breakfast table</title>
11
12 <link rel="stylesheet" type="text/css" href="./css/common.css">
13 <script src="./js/lozenge.js"> </script>
14 $if(genre)$
15 <link rel="stylesheet" type="text/css" href="./css/$genre$.css">
16 <script src="./js/$genre$.js"> </script>
17 $endif$
18 $if(project.css)$
19 <link rel="stylesheet" type="text/css" href="./css/$project.css$.css">
20 <script src="./js/$project.css$.js"> </script>
21 $endif$
22 <!--[if lt IE 9]>
23 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
24 <![endif]-->
25 <!-- <script src="js/external.js"> </script> -->
26 $for(header-includes)$
27 $headerincludes$
28 $endfor$
29</head>
30<body>
31$for(include-before)$ $include-before$ $endfor$
32<div id="wrapper">
33 <header>
34 <!-- title -->
35 $if(title)$<h1 class="title">$title$</h1>$endif$
36 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
37
38 $if(dedication)$
39 <!-- dedication -->
40 <div class="dedication">$dedication$</div>
41 $endif$
42
43 $if(epigraph.content)$
44 <!-- epigraph -->
45 <div class="epigraph">
46 $if(epigraph.link)$
47 <a href="$epigraph.link$">$epigraph.content$</a>
48 $else$
49 $epigraph.content$
50 $endif$
51 </div>
52 $if(epigraph.attrib)$
53 <div class="epigraph-attrib">$epigraph.attrib$</div>
54 $endif$
55 $endif$
56 </header>
57
58 <section class="thing $genre$">
59 $body$
60 </section>
61
62 <nav>
63 $for(project.prev)$
64 <a class="prevlink" href="$project.prev.link$.html">
65 $project.prev.title$
66 </a>
67 $endfor$
68 <a href="#" id="lozenge" title="Random page"> &loz; </a>
69 $for(project.next)$
70 <a class="nextlink" href="$project.next.link$.html">
71 $project.next.title$
72 </a>
73 $endfor$
74 </nav>
75</div>
76$for(include-after)$
77$include-after$
78$endfor$
79</body>
80</html>