diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-23 11:21:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-23 11:21:15 -0700 |
commit | 8590fab1359fd618a7f8f737121c9413a8749d1a (patch) | |
tree | d7c9847c21db631b8e0139c03dbb49b6d403c643 | |
parent | 4900bcb12808b95a180fa337f078869b6ff3315c (diff) | |
download | pandoc-8590fab1359fd618a7f8f737121c9413a8749d1a.tar.gz |
HTML template: Display author(s) and date after title.
-rw-r--r-- | default.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.html b/default.html index 3f8b76fed..0e8d97fa0 100644 --- a/default.html +++ b/default.html @@ -49,10 +49,20 @@ $endfor$ $if(title)$ $if(html5)$ <header> +$else$ +<div id="header"> $endif$ <h1 class="title">$title$</h1> +$for(author)$ +<h3 class="author">$author$</h3> +$endfor$ +$if(date)$ +<h4 class="date">$date$</h4> +$endif$ $if(html5)$ </header> +$else$ +</div> $endif$ $endif$ $if(toc)$ |