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.html63
1 files changed, 32 insertions, 31 deletions
diff --git a/.template.html b/.template.html index 1de2ef0..aa5ac98 100644 --- a/.template.html +++ b/.template.html
@@ -1,5 +1,6 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!-- Template for compiled 'Autocento' documents --> 2<!-- AUTOCENTO OF THE BREAKFAST TABLE -->
3<!-- vim: fdm=indent -->
3<html lang="en"> 4<html lang="en">
4<head> 5<head>
5 <meta charset="utf-8"> 6 <meta charset="utf-8">
@@ -30,38 +31,38 @@
30 $endfor$ 31 $endfor$
31</head> 32</head>
32<body> 33<body>
33$for(include-before)$ $include-before$ $endfor$ 34 $for(include-before)$ $include-before$ $endfor$
34<article id="container"> 35 <article id="container">
35 <header> 36 <header>
36 <!-- title --> 37 <!-- title -->
37 $if(title)$<h1 class="title">$title$</h1>$endif$ 38 $if(title)$<h1 class="title">$title$</h1>$endif$
38 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ 39 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
39 40
40 $if(dedication)$ 41 $if(epigraph.content)$
41 <!-- dedication --> 42 <!-- epigraph -->
42 <div class="dedication">$dedication$</div> 43 <div class="epigraph">
43 $endif$ 44 $if(epigraph.link)$
45 <a href="$epigraph.link$">$epigraph.content$</a>
46 $else$
47 $epigraph.content$
48 $endif$
49 </div>
50 $if(epigraph.attrib)$
51 <div class="epigraph-attrib">$epigraph.attrib$</div>
52 $endif$
44 53
45 $if(epigraph.content)$ 54 $if(dedication)$
46 <!-- epigraph --> 55 <!-- dedication -->
47 <div class="epigraph"> 56 <div class="dedication">$dedication$</div>
48 $if(epigraph.link)$
49 <a href="$epigraph.link$">$epigraph.content$</a>
50 $else$
51 $epigraph.content$
52 $endif$ 57 $endif$
53 </div>
54 $if(epigraph.attrib)$
55 <div class="epigraph-attrib">$epigraph.attrib$</div>
56 $endif$
57 $endif$
58 </header>
59 58
60 <section class="content $genre$"> 59 $endif$
61 $body$ 60 </header>
62 </section>
63</article>
64 61
62 <section class="content $genre$">
63 $body$
64 </section>
65 </article>
65 <nav> 66 <nav>
66 $for(project.prev)$ 67 $for(project.prev)$
67 <a class="prevlink" href="$project.prev.link$.html" 68 <a class="prevlink" href="$project.prev.link$.html"
@@ -77,8 +78,8 @@ $for(include-before)$ $include-before$ $endfor$
77 </a> 78 </a>
78 $endfor$ 79 $endfor$
79 </nav> 80 </nav>
80$for(include-after)$ 81 $for(include-after)$
81$include-after$ 82 $include-after$
82$endfor$ 83 $endfor$
83</body> 84</body>
84</html> 85</html>