diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:16:19 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:16:19 +0000 |
commit | 312d9337b99070dc7eae365dd0b1b3148aecc349 (patch) | |
tree | b66effffdfd16a0334f2d255d8cf4ba2f446bb1f /templates/rst.template | |
parent | f4e738a6a9c21507ca6cad16125bdd96afeaf473 (diff) | |
download | pandoc-312d9337b99070dc7eae365dd0b1b3148aecc349.tar.gz |
Improved RST writer.
Updated test suite.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1725 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/rst.template')
-rw-r--r-- | templates/rst.template | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/rst.template b/templates/rst.template index abca8d81a..b4c3e2733 100644 --- a/templates/rst.template +++ b/templates/rst.template @@ -1,15 +1,19 @@ -$if(titleblock)$ $if(title)$ $title$ $endif$ -$if(authors)$ -$authors$ -$endif$ +$for(author)$ +:Author: $author$ +$endfor$ $if(date)$ -Date: $date$ +:Date: $date$ $endif$ +$if(author)$ +$else$ +$if(date)$ + +$endif$ $endif$ $if(math)$ .. role:: math(raw) |