diff options
author | Case Duckworth | 2015-03-01 12:02:10 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-01 12:02:10 -0700 |
commit | 8c4432a79983d38f88190b2cd96538fcc20da696 (patch) | |
tree | b449289821875cadb0eee19fb95618efb7eca8ca | |
parent | Fix linking issues in YAML headers (diff) | |
download | autocento-8c4432a79983d38f88190b2cd96538fcc20da696.tar.gz autocento-8c4432a79983d38f88190b2cd96538fcc20da696.zip |
Change template: linke epigraphs w/o attribs
-rw-r--r-- | _template.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/_template.html b/_template.html index 534e878..0e6f304 100644 --- a/_template.html +++ b/_template.html | |||
@@ -32,15 +32,15 @@ $for(include-before)$ $include-before$ $endfor$ | |||
32 | $if(epigraph.content)$ | 32 | $if(epigraph.content)$ |
33 | <!-- epigraph --> | 33 | <!-- epigraph --> |
34 | <p class="epigraph"> | 34 | <p class="epigraph"> |
35 | $epigraph.content$ | 35 | $if(epigraph.link)$ |
36 | <a href="$epigraph.link$">$epigraph.content$</a> | ||
37 | $else$ | ||
38 | $epigraph.content$ | ||
39 | $endif$ | ||
36 | </p> | 40 | </p> |
37 | $if(epigraph.attrib)$ | 41 | $if(epigraph.attrib)$ |
38 | <p class="epigraph-attrib"> | 42 | <p class="epigraph-attrib"> |
39 | $if(epigraph.link)$ | ||
40 | <a href="$epigraph.link$">— $epigraph.attrib$</a> | ||
41 | $else$ | ||
42 | — $epigraph.attrib$ | 43 | — $epigraph.attrib$ |
43 | $endif$ | ||
44 | </p> | 44 | </p> |
45 | $endif$ | 45 | $endif$ |
46 | $endif$ | 46 | $endif$ |