diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/backlinks.html | 208 | ||||
-rw-r--r-- | templates/page.html | 3 |
2 files changed, 109 insertions, 102 deletions
diff --git a/templates/backlinks.html b/templates/backlinks.html index 136eb4c..630a245 100644 --- a/templates/backlinks.html +++ b/templates/backlinks.html | |||
@@ -4,121 +4,125 @@ | |||
4 | --> | 4 | --> |
5 | <html lang="en"> | 5 | <html lang="en"> |
6 | <head> | 6 | <head> |
7 | <meta charset="utf-8"> | 7 | <meta charset="utf-8"> |
8 | <meta name="generator" content="pandoc"> | 8 | <meta name="generator" content="pandoc"> |
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
10 | <meta name="author" content="Case Duckworth"> | 10 | <meta name="author" content="Case Duckworth"> |
11 | 11 | ||
12 | <title>$title$ | Autocento of the breakfast table</title> | 12 | <title>$title$ | Autocento of the breakfast table</title> |
13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> | 13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> |
14 | 14 | ||
15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> | 15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> |
16 | <script src="../scripts/randomize.js" type="text/javascript"> </script> | 16 | <script src="../scripts/randomize.js" type="text/javascript"> </script> |
17 | <script src="../scripts/hylo.js" type="text/javascript"> </script> | 17 | <script src="../scripts/hylo.js" type="text/javascript"> </script> |
18 | 18 | ||
19 | <!--[if lt IE 9]> | 19 | <!--[if lt IE 9]> |
20 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> | 20 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> |
21 | <![endif]--> | 21 | <![endif]--> |
22 | $for(header-includes)$ | 22 | $for(header-includes)$ |
23 | $headerincludes$ | 23 | $headerincludes$ |
24 | $endfor$ | 24 | $endfor$ |
25 | </head> | 25 | </head> |
26 | |||
26 | <body id="$id$-backlinks"$if(project.class)$ class="$project.class$"$endif$> | 27 | <body id="$id$-backlinks"$if(project.class)$ class="$project.class$"$endif$> |
27 | $for(include-before)$ $include-before$ $endfor$ | 28 | $for(include-before)$ $include-before$ $endfor$ |
29 | |||
30 | <article class="container"> | ||
31 | <header> | ||
32 | <!-- title --> | ||
33 | $if(title)$<h1 class="title">$title$</h1>$endif$ | ||
34 | $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ | ||
35 | |||
36 | <div class="header-extra"> | ||
37 | $if(dedication)$ | ||
38 | <!-- dedication --> | ||
39 | <div class="dedication">$dedication$</div> | ||
40 | $endif$ | ||
28 | 41 | ||
29 | <article class="container"> | 42 | $if(epigraph.content)$ |
30 | <header> | 43 | <!-- epigraph --> |
31 | <!-- title --> | 44 | <div class="epigraph"> |
32 | $if(title)$<h1 class="title">$title$</h1>$endif$ | 45 | $if(epigraph.link)$ |
33 | $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ | 46 | <a href="$epigraph.link$">$epigraph.content$</a> |
47 | $else$ | ||
48 | $epigraph.content$ | ||
49 | $endif$ | ||
34 | 50 | ||
35 | <div class="header-extra"> | 51 | $if(epigraph.attrib)$ |
36 | $if(dedication)$ | 52 | <div class="attrib">$epigraph.attrib$</div> |
37 | <!-- dedication --> | 53 | $endif$ |
38 | <div class="dedication">$dedication$</div> | 54 | </div> |
39 | $endif$ | 55 | $endif$ |
56 | </div> | ||
57 | </header> | ||
40 | 58 | ||
41 | $if(epigraph.content)$ | 59 | $if(ekphrastic.image)$ |
42 | <!-- epigraph --> | 60 | <div class="ekphrastic"> |
43 | <div class="epigraph"> | 61 | $if(ekphrastic.link)$ |
44 | $if(epigraph.link)$ | 62 | <a href="$ekphrastic.link$"> |
45 | <a href="$epigraph.link$">$epigraph.content$</a> | 63 | <img src="trunk/$ekphrastic.image$" |
46 | $else$ | 64 | $if(ekphrastic.title)$ |
47 | $epigraph.content$ | 65 | title="$ekphrastic.title$" |
48 | $endif$ | 66 | $endif$ |
67 | $if(ekphrastic.alt)$ | ||
68 | alt="$ekphrastic.alt$" | ||
69 | $else$ | ||
70 | alt="$ekphrastic.title$" | ||
71 | $endif$ | ||
72 | $if(ekphrastic.class)$ | ||
73 | class="$ekphrastic.class$" | ||
74 | $endif$ | ||
75 | /> | ||
76 | </a> | ||
77 | $else$ | ||
78 | <img src="trunk/$ekphrastic.image$" | ||
79 | $if(ekphrastic.title)$ | ||
80 | title="$ekphrastic.title$" | ||
81 | $endif$ | ||
82 | $if(ekphrastic.alt)$ | ||
83 | alt="$ekphrastic.alt$" | ||
84 | $else$ | ||
85 | alt="$ekphrastic.title$" | ||
86 | $endif$ | ||
87 | $if(ekphrastic.class)$ | ||
88 | class="$ekphrastic.class$" | ||
89 | $endif$ | ||
90 | /> | ||
91 | $endif$ | ||
92 | </div> | ||
93 | $endif$ | ||
49 | 94 | ||
50 | $if(epigraph.attrib)$ | 95 | <section class="content $genre$"> |
51 | <div class="attrib">$epigraph.attrib$</div> | 96 | $body$ |
52 | $endif$ | 97 | </section> |
53 | </div> | 98 | </article> |
54 | $endif$ | ||
55 | </div> | ||
56 | </header> | ||
57 | 99 | ||
58 | $if(ekphrastic.image)$ | 100 | <a id="textlink" title="Source file" href="$id$.back">¶</a> |
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 | 101 | ||
94 | <section class="content $genre$"> | 102 | <nav> |
95 | $body$ | 103 | <div class="anchors"> |
96 | </section> | 104 | <a href="../$id$.html" id="backlinks" title="Links to this page"> |
97 | </article> | 105 | φ |
98 | <nav> | 106 | </a> |
99 | <div class="anchors"> | 107 | <a href="../index.html" id="coverlink" title="To cover">◊</a> |
100 | <a href="../$id$.html" id="backlinks" title="Links to this page"> | 108 | <a href="#" id="randomizelink" title="ERROR">ξ</a> |
101 | φ | 109 | </div> |
102 | </a> | ||
103 | <a href="../index.html" id="coverlink" title="To cover">◊</a> | ||
104 | <a href="#" id="randomizelink" title="ERROR">ξ</a> | ||
105 | </div> | ||
106 | 110 | ||
107 | $for(project.prev)$ | 111 | $for(project.prev)$ |
108 | <a class="prevlink" href="$project.prev.link$.html" | 112 | <a class="prevlink" href="$project.prev.link$.html" |
109 | title="Previous article$if(project.title)$ in $project.title$$endif$"> | 113 | title="Previous article$if(project.title)$ in $project.title$$endif$"> |
110 | $project.prev.title$ | 114 | $project.prev.title$ |
111 | </a> | 115 | </a> |
112 | $endfor$ | 116 | $endfor$ |
113 | 117 | ||
114 | $for(project.next)$ | 118 | $for(project.next)$ |
115 | <a class="nextlink" href="$project.next.link$.html" | 119 | <a class="nextlink" href="$project.next.link$.html" |
116 | title="Next article$if(project.title)$ in $project.title$$endif$"> | 120 | title="Next article$if(project.title)$ in $project.title$$endif$"> |
117 | $project.next.title$ | 121 | $project.next.title$ |
118 | </a> | 122 | </a> |
119 | $endfor$ | 123 | $endfor$ |
120 | </nav> | 124 | </nav> |
121 | 125 | ||
122 | $for(include-after)$ $include-after$ $endfor$ | 126 | $for(include-after)$ $include-after$ $endfor$ |
123 | </body> | 127 | </body> |
124 | </html> | 128 | </html> |
diff --git a/templates/page.html b/templates/page.html index dda13e1..637d6d9 100644 --- a/templates/page.html +++ b/templates/page.html | |||
@@ -97,6 +97,9 @@ $endif$ | |||
97 | $body$ | 97 | $body$ |
98 | </section> | 98 | </section> |
99 | </article> | 99 | </article> |
100 | |||
101 | <a id="textlink" title="Source file" href="text/$id$.txt">¶</a> | ||
102 | |||
100 | <nav> | 103 | <nav> |
101 | <div class="anchors"> | 104 | <div class="anchors"> |
102 | <a href="backlinks/$id$.html" id="backlinks" title="Links to this page"> | 105 | <a href="backlinks/$id$.html" id="backlinks" title="Links to this page"> |