aboutsummaryrefslogtreecommitdiff
path: root/templates/rst.template
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:16:19 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:16:19 +0000
commit312d9337b99070dc7eae365dd0b1b3148aecc349 (patch)
treeb66effffdfd16a0334f2d255d8cf4ba2f446bb1f /templates/rst.template
parentf4e738a6a9c21507ca6cad16125bdd96afeaf473 (diff)
downloadpandoc-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.template14
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)