about summary refs log tree commit diff stats
path: root/test/.template.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/.template.html')
-rw-r--r--test/.template.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/test/.template.html b/test/.template.html new file mode 100644 index 0000000..47c7dd9 --- /dev/null +++ b/test/.template.html
@@ -0,0 +1,123 @@
1<!DOCTYPE html>
2<!-- AUTOCENTO OF THE BREAKFAST TABLE -->
3<!-- vim: fdm=indent
4-->
5<html lang="en">
6<head>
7 <meta charset="utf-8">
8 <meta name="generator" content="pandoc">
9 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
10 <meta name="author" content="Case Duckworth">
11
12 <title>$title$ | Autocento of the breakfast table</title>
13 <link rel="icon" type="image/png" href="img/favico.png" />
14
15 <link rel="stylesheet" type="text/css" href="./css/common.css">
16 <script src="./js/lozenge.js" type="text/javascript"> </script>
17 <script src="./js/hylo.js" type="text/javascript"> </script>
18
19 $if(genre)$
20 <link rel="stylesheet" type="text/css" href="./css/$genre$.css">
21 <script src="./js/$genre$.js" type="text/javascript"> </script>
22 $endif$
23 $if(project.css)$
24 <link rel="stylesheet" type="text/css" href="./css/$project.css$.css">
25 <script src="./js/$project.css$.js" type="text/javascript"> </script>
26 $endif$
27 <!--[if lt IE 9]>
28 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
29 <![endif]-->
30 <!-- <script src="js/external.js"> </script> -->
31 $for(header-includes)$
32 $headerincludes$
33 $endfor$
34</head>
35<body>
36 $for(include-before)$ $include-before$ $endfor$
37
38 <article id="container">
39 <header>
40 <!-- title -->
41 $if(title)$<h1 class="title">$title$</h1>$endif$
42 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
43
44 <div id="dedepi">
45 $if(dedication)$
46 <!-- dedication -->
47 <div class="dedication">$dedication$</div>
48 $endif$
49
50 $if(epigraph.content)$
51 <!-- epigraph -->
52 <div class="epigraph">
53 $if(epigraph.link)$
54 <a href="$epigraph.link$">$epigraph.content$</a>
55 $else$
56 $epigraph.content$
57 $endif$
58
59 $if(epigraph.attrib)$
60 <div class="attrib">$epigraph.attrib$</div>
61 $endif$
62 </div>
63 $endif$
64 </div>
65 </header>
66
67 $if(ekphrastic.image)$
68 <div class="ekphrastic">
69 $if(ekphrastic.link)$
70 <a href="$ekphrastic.link$">
71 <img src="img/$ekphrastic.image$"
72 $if(ekphrastic.title)$
73 title="$ekphrastic.title$"
74 $endif$
75 $if(ekphrastic.alt)$
76 alt="$ekphrastic.alt$"
77 $else$
78 alt="$ekphrastic.title$"
79 $endif$
80 $if(ekphrastic.class)$
81 class="$ekphrastic.class$"
82 $endif$
83 />
84 </a>
85 $else$
86 <img src="img/$ekphrastic.image$"
87 $if(ekphrastic.title)$
88 title="$ekphrastic.title$"
89 $endif$
90 $if(ekphrastic.alt)$
91 alt="$ekphrastic.alt$"
92 $else$
93 alt="$ekphrastic.title$"
94 $endif$
95 $if(ekphrastic.class)$
96 class="$ekphrastic.class$"
97 $endif$
98 />
99 $endif$
100 </div>
101 $endif$
102
103 <section class="content $genre$">$body$</section>
104 </article>
105 <nav>
106 $for(project.prev)$
107 <a class="prevlink" href="$project.prev.link$.html"
108 title="Previous article$if(project.title)$ in $project.title$$endif$">
109 $project.prev.title$
110 </a>
111 $endfor$
112 <a href="#" id="lozenge" title="Random page"> &loz; </a>
113 $for(project.next)$
114 <a class="nextlink" href="$project.next.link$.html"
115 title="Next article$if(project.title)$ in $project.title$$endif$">
116 $project.next.title$
117 </a>
118 $endfor$
119 </nav>
120
121 $for(include-after)$ $include-after$ $endfor$
122</body>
123</html>