summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/backlinks.html124
-rw-r--r--templates/page.html128
2 files changed, 252 insertions, 0 deletions
diff --git a/templates/backlinks.html b/templates/backlinks.html new file mode 100644 index 0000000..52d3657 --- /dev/null +++ b/templates/backlinks.html
@@ -0,0 +1,124 @@
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="../trunk/favico.png" />
14
15 <link rel="stylesheet" type="text/css" href="../trunk/style.css">
16 <script src="../scripts/randomize.js" type="text/javascript"> </script>
17 <script src="../scripts/hylo.js" type="text/javascript"> </script>
18
19 <!--[if lt IE 9]>
20 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
21 <![endif]-->
22 $for(header-includes)$
23 $headerincludes$
24 $endfor$
25</head>
26<body id="$id$-backlinks"$if(project.class)$ class="$project.class$"$endif$>
27 $for(include-before)$ $include-before$ $endfor$
28
29 <article class="container">
30 <header>
31 <!-- title -->
32 $if(title)$<h1 class="title">$title$</h1>$endif$
33 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
34
35 <div class="header-extra">
36 $if(dedication)$
37 <!-- dedication -->
38 <div class="dedication">$dedication$</div>
39 $endif$
40
41 $if(epigraph.content)$
42 <!-- epigraph -->
43 <div class="epigraph">
44 $if(epigraph.link)$
45 <a href="$epigraph.link$">$epigraph.content$</a>
46 $else$
47 $epigraph.content$
48 $endif$
49
50 $if(epigraph.attrib)$
51 <div class="attrib">$epigraph.attrib$</div>
52 $endif$
53 </div>
54 $endif$
55 </div>
56 </header>
57
58 $if(ekphrastic.image)$
59 <div class="ekphrastic">
60 $if(ekphrastic.link)$
61 <a href="$ekphrastic.link$">
62 <img src="trunk/$ekphrastic.image$"
63 $if(ekphrastic.title)$
64 title="$ekphrastic.title$"
65 $endif$
66 $if(ekphrastic.alt)$
67 alt="$ekphrastic.alt$"
68 $else$
69 alt="$ekphrastic.title$"
70 $endif$
71 $if(ekphrastic.class)$
72 class="$ekphrastic.class$"
73 $endif$
74 />
75 </a>
76 $else$
77 <img src="trunk/$ekphrastic.image$"
78 $if(ekphrastic.title)$
79 title="$ekphrastic.title$"
80 $endif$
81 $if(ekphrastic.alt)$
82 alt="$ekphrastic.alt$"
83 $else$
84 alt="$ekphrastic.title$"
85 $endif$
86 $if(ekphrastic.class)$
87 class="$ekphrastic.class$"
88 $endif$
89 />
90 $endif$
91 </div>
92 $endif$
93
94 <section class="content $genre$">
95 $body$
96 </section>
97 </article>
98 <nav>
99 <div class="anchors">
100 <a href="../$id$.html" id="backlinks" title="Links to this page">
101 &phi;
102 </a>
103 <a href="index.html" id="coverlink" title="To cover">&loz;</a>
104 <a href="#" id="randomizelink" title="ERROR">&xi;</a>
105 </div>
106
107 $for(project.prev)$
108 <a class="prevlink" href="$project.prev.link$.html"
109 title="Previous article$if(project.title)$ in $project.title$$endif$">
110 $project.prev.title$
111 </a>
112 $endfor$
113
114 $for(project.next)$
115 <a class="nextlink" href="$project.next.link$.html"
116 title="Next article$if(project.title)$ in $project.title$$endif$">
117 $project.next.title$
118 </a>
119 $endfor$
120 </nav>
121
122 $for(include-after)$ $include-after$ $endfor$
123</body>
124</html>
diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..dda13e1 --- /dev/null +++ b/templates/page.html
@@ -0,0 +1,128 @@
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="trunk/favico.png" />
14
15<link rel="stylesheet" type="text/css" href="trunk/style.css">
16<script src="scripts/randomize.js" type="text/javascript"> </script>
17<script src="scripts/hylo.js" type="text/javascript"> </script>
18
19<!--[if lt IE 9]>
20<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
21<![endif]-->
22$for(header-includes)$
23$headerincludes$
24$endfor$
25</head>
26<body id="$id$"$if(project.class)$ class="$project.class$"$endif$>
27$for(include-before)$
28$include-before$
29$endfor$
30
31<article class="container">
32<header>
33<!-- title -->
34$if(title)$<h1 class="title">$title$</h1>$endif$
35$if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
36
37<div class="header-extra">
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
52$if(epigraph.attrib)$
53<div class="attrib">$epigraph.attrib$</div>
54$endif$
55</div>
56$endif$
57</div>
58</header>
59
60$if(ekphrastic.image)$
61<div class="ekphrastic">
62$if(ekphrastic.link)$
63<a href="$ekphrastic.link$">
64<img src="trunk/$ekphrastic.image$"
65$if(ekphrastic.title)$
66title="$ekphrastic.title$"
67$endif$
68$if(ekphrastic.alt)$
69alt="$ekphrastic.alt$"
70$else$
71alt="$ekphrastic.title$"
72$endif$
73$if(ekphrastic.class)$
74class="$ekphrastic.class$"
75$endif$
76/>
77</a>
78$else$
79<img src="trunk/$ekphrastic.image$"
80$if(ekphrastic.title)$
81title="$ekphrastic.title$"
82$endif$
83$if(ekphrastic.alt)$
84alt="$ekphrastic.alt$"
85$else$
86alt="$ekphrastic.title$"
87$endif$
88$if(ekphrastic.class)$
89class="$ekphrastic.class$"
90$endif$
91/>
92$endif$
93</div>
94$endif$
95
96<section class="content $genre$">
97$body$
98</section>
99</article>
100<nav>
101<div class="anchors">
102<a href="backlinks/$id$.html" id="backlinks" title="Links to this page">
103&phi;
104</a>
105<a href="index.html" id="coverlink" title="To cover">&loz;</a>
106<a href="#" id="randomizelink" title="ERROR">&xi;</a>
107</div>
108
109$for(project.prev)$
110<a class="prevlink" href="$project.prev.link$.html"
111title="Previous article$if(project.title)$ in $project.title$$endif$">
112$project.prev.title$
113</a>
114$endfor$
115
116$for(project.next)$
117<a class="nextlink" href="$project.next.link$.html"
118title="Next article$if(project.title)$ in $project.title$$endif$">
119$project.next.title$
120</a>
121$endfor$
122</nav>
123
124$for(include-after)$
125$include-after$
126$endfor$
127</body>
128</html>