diff options
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$ |