git.iko.soy/typeable/pandoc
on master help sign in
HTML template: Display author(s) and date after title.
commit8590fab1359fd618a7f8f737121c9413a8749d1a authorJohn MacFarlane <jgm@berkeley.edu> dateSat 23 Jul 2011, 11:21 (15 years ago) parent4900bcb
1 file changed+10
default.html+10
default.html+10
@@ -49,10 +49,20 @@ $endfor$
4949$if(title)$
5050$if(html5)$
5151<header>
52+$else$
53+<div id="header">
5254$endif$
5355<h1 class="title">$title$</h1>
56+$for(author)$
57+<h3 class="author">$author$</h3>
58+$endfor$
59+$if(date)$
60+<h4 class="date">$date$</h4>
61+$endif$
5462$if(html5)$
5563</header>
64+$else$
65+</div>
5666$endif$
5767$endif$
5868$if(toc)$