diff options
author | Case Duckworth | 2015-04-01 23:16:18 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-01 23:20:18 -0700 |
commit | d161be120c22faf222ec15ca618ee367e4d56575 (patch) | |
tree | b945633e680e5682a967f63bad88a2b262b4d4c6 /_template.html | |
parent | Merge branch 'gh-pages' of https://github.com/duckwork/autocento into gh-pages (diff) | |
download | autocento-d161be120c22faf222ec15ca618ee367e4d56575.tar.gz autocento-d161be120c22faf222ec15ca618ee367e4d56575.zip |
Refactor makefile; Add hapax preprocessor
Diffstat (limited to '_template.html')
-rw-r--r-- | _template.html | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/_template.html b/_template.html new file mode 100644 index 0000000..074800e --- /dev/null +++ b/_template.html | |||
@@ -0,0 +1,125 @@ | |||
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="style.css"> | ||
16 | <script src="trunk/lozenge.js" type="text/javascript"> </script> | ||
17 | <script src="trunk/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)$ $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 | $for(project.prev)$ | ||
100 | <a class="prevlink" href="$project.prev.link$.html" | ||
101 | title="Previous article$if(project.title)$ in $project.title$$endif$"> | ||
102 | $project.prev.title$ | ||
103 | </a> | ||
104 | $endfor$ | ||
105 | |||
106 | <!-- ANCHORS --> | ||
107 | <div class="anchors"> | ||
108 | <a href="$id$_backlinks.htm" id="back-link" title="Links to this page"> | ||
109 | φ | ||
110 | </a> | ||
111 | <a href="index.html" id="cover-link" title="To cover">◊</a> | ||
112 | <a href="#" id="lozenge" title="ERROR">∝</a> | ||
113 | </div> | ||
114 | |||
115 | $for(project.next)$ | ||
116 | <a class="nextlink" href="$project.next.link$.html" | ||
117 | title="Next article$if(project.title)$ in $project.title$$endif$"> | ||
118 | $project.next.title$ | ||
119 | </a> | ||
120 | $endfor$ | ||
121 | </nav> | ||
122 | |||
123 | $for(include-after)$ $include-after$ $endfor$ | ||
124 | </body> | ||
125 | </html> | ||