diff options
author | Case Duckworth | 2015-03-02 19:19:32 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-02 19:19:32 -0700 |
commit | 19dcd7cd6f7e39247cfaecb18bd7ca0e16a41b29 (patch) | |
tree | 17c45f66a90ef6cf7de7889dd42c4eac5fcc9fcc /_template.html | |
parent | Add test suite (diff) | |
download | autocento-19dcd7cd6f7e39247cfaecb18bd7ca0e16a41b29.tar.gz autocento-19dcd7cd6f7e39247cfaecb18bd7ca0e16a41b29.zip |
Change width of webpages; streamline template
Diffstat (limited to '_template.html')
-rw-r--r-- | _template.html | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/_template.html b/_template.html index b662855..ec2fe36 100644 --- a/_template.html +++ b/_template.html | |||
@@ -29,26 +29,23 @@ $for(include-before)$ $include-before$ $endfor$ | |||
29 | <!-- title --> | 29 | <!-- title --> |
30 | $if(title)$<h1 class="title">$title$</h1>$endif$ | 30 | $if(title)$<h1 class="title">$title$</h1>$endif$ |
31 | $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ | 31 | $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ |
32 | |||
32 | $if(epigraph.content)$ | 33 | $if(epigraph.content)$ |
33 | <!-- epigraph --> | 34 | <!-- epigraph --> |
34 | <p class="epigraph"> | 35 | <div class="epigraph"> |
35 | $if(epigraph.link)$ | 36 | $if(epigraph.link)$ |
36 | <a href="$epigraph.link$">$epigraph.content$</a> | 37 | <a href="$epigraph.link$">$epigraph.content$</a> |
37 | $else$ | 38 | $else$ |
38 | $epigraph.content$ | 39 | $epigraph.content$ |
39 | $endif$ | 40 | $endif$ |
40 | </p> | 41 | </div> |
41 | $if(epigraph.attrib)$ | 42 | $if(epigraph.attrib)$ |
42 | <p class="epigraph-attrib"> | 43 | <div class="epigraph-attrib">$epigraph.attrib$</div> |
43 | — $epigraph.attrib$ | ||
44 | </p> | ||
45 | $endif$ | 44 | $endif$ |
46 | $endif$ | 45 | $endif$ |
47 | $if(dedication)$ | 46 | $if(dedication)$ |
48 | <!-- dedication --> | 47 | <!-- dedication --> |
49 | <p class="dedication"> | 48 | <div class="dedication">$dedication$</div> |
50 | <em>for $dedication$</em> | ||
51 | </p> | ||
52 | $endif$ | 49 | $endif$ |
53 | </header> | 50 | </header> |
54 | 51 | ||
@@ -58,14 +55,14 @@ $for(include-before)$ $include-before$ $endfor$ | |||
58 | 55 | ||
59 | <nav> | 56 | <nav> |
60 | $for(project.prev)$ | 57 | $for(project.prev)$ |
61 | <a href="$project.prev.link$.html"> | 58 | <a class="prevlink" href="$project.prev.link$.html"> |
62 | <span class="prevlink">< $project.prev.title$</span> | 59 | $project.prev.title$ |
63 | </a> | 60 | </a> |
64 | $endfor$ | 61 | $endfor$ |
65 | <a href="#" id="lozenge"> ◊ </a> | 62 | <a href="#" id="lozenge"> ◊ </a> |
66 | $for(project.next)$ | 63 | $for(project.next)$ |
67 | <a href="$project.next.link$.html"> | 64 | <a class="nextlink" href="$project.next.link$.html"> |
68 | <span class="nextlink">$project.next.title$ ></span> | 65 | $project.next.title$ |
69 | </a> | 66 | </a> |
70 | $endfor$ | 67 | $endfor$ |
71 | </nav> | 68 | </nav> |