diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:15:50 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:15:50 +0000 |
commit | fbef848a3af236ca3a18e6aad7c459e93b8495fc (patch) | |
tree | 7c0da5f5d01a4457f3efb78c6384ee190ea9ae44 /templates/rst.template | |
parent | 7baa79597e1306eeed0313ffafd240b4df5080bb (diff) | |
download | pandoc-fbef848a3af236ca3a18e6aad7c459e93b8495fc.tar.gz |
Use $for$ for header-includes.
Put variables in right order. We've specified that if they
use -A, -B, -H multiple times, the text appears in the same
order as on the command line.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1722 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/rst.template')
-rw-r--r-- | templates/rst.template | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/templates/rst.template b/templates/rst.template index 38e9691d3..abca8d81a 100644 --- a/templates/rst.template +++ b/templates/rst.template @@ -1,5 +1,14 @@ $if(titleblock)$ -$titleblock$ +$if(title)$ +$title$ + +$endif$ +$if(authors)$ +$authors$ +$endif$ +$if(date)$ +Date: $date$ +$endif$ $endif$ $if(math)$ @@ -7,8 +16,12 @@ $if(math)$ :format: html latex $endif$ -$if(header-includes)$ -$header-includes$ +$if(toc)$ +.. contents:: $endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ $body$ |