about summary refs log tree commit diff stats
path: root/.template.html
diff options
context:
space:
mode:
authorCase Duckworth2015-03-12 09:45:58 -0700
committerCase Duckworth2015-03-12 09:45:58 -0700
commit20e9c7c2498b559a284bb9db0fcf1a3b08c779ac (patch)
tree586c12de18d7f60d35dae7d86a49041dd11583b4 /.template.html
parentMove dedication to before epigraph (diff)
downloadautocento-20e9c7c2498b559a284bb9db0fcf1a3b08c779ac.tar.gz
autocento-20e9c7c2498b559a284bb9db0fcf1a3b08c779ac.zip
Fix #8 - dedication bug - & change epigraph org
- Move the $endif$ for $if(epigraph.content)$ to before .dedication
- Change `epigraph + epigraph-attrib` to `epigraph > attrib`
Diffstat (limited to '.template.html')
-rw-r--r--.template.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/.template.html b/.template.html index aa5ac98..9fd0fa0 100644 --- a/.template.html +++ b/.template.html
@@ -1,6 +1,7 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<!-- AUTOCENTO OF THE BREAKFAST TABLE --> 2<!-- AUTOCENTO OF THE BREAKFAST TABLE -->
3<!-- vim: fdm=indent --> 3<!-- vim: fdm=indent
4-->
4<html lang="en"> 5<html lang="en">
5<head> 6<head>
6 <meta charset="utf-8"> 7 <meta charset="utf-8">
@@ -32,6 +33,7 @@
32</head> 33</head>
33<body> 34<body>
34 $for(include-before)$ $include-before$ $endfor$ 35 $for(include-before)$ $include-before$ $endfor$
36
35 <article id="container"> 37 <article id="container">
36 <header> 38 <header>
37 <!-- title --> 39 <!-- title -->
@@ -39,23 +41,23 @@
39 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ 41 $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
40 42
41 $if(epigraph.content)$ 43 $if(epigraph.content)$
42 <!-- epigraph --> 44 <!-- epigraph -->
43 <div class="epigraph"> 45 <div class="epigraph">
44 $if(epigraph.link)$ 46 $if(epigraph.link)$
45 <a href="$epigraph.link$">$epigraph.content$</a> 47 <a href="$epigraph.link$">$epigraph.content$</a>
46 $else$ 48 $else$
47 $epigraph.content$ 49 $epigraph.content$
48 $endif$ 50 $endif$
49 </div>
50 $if(epigraph.attrib)$
51 <div class="epigraph-attrib">$epigraph.attrib$</div>
52 $endif$
53 51
54 $if(dedication)$ 52 $if(epigraph.attrib)$
55 <!-- dedication --> 53 <div class="attrib">$epigraph.attrib$</div>
56 <div class="dedication">$dedication$</div> 54 $endif$
55 </div>
57 $endif$ 56 $endif$
58 57
58 $if(dedication)$
59 <!-- dedication -->
60 <div class="dedication">$dedication$</div>
59 $endif$ 61 $endif$
60 </header> 62 </header>
61 63