RST writer: use titleblock instead of title variable for title block

Closes #4803

After this commit use `$titleblock$` in order to get what was contained
in `$title$` before, that is a title and subtitle rendered according to
the official rST method:
http://docutils.sourceforge.net/docs/user/rst/quickstart.html#document-title-subtitle. from

With this commit, the `$title$` and `$subtitle$` metadata are available and they
simply carry the metadata values.  This opens up more possibilities in templates.
This commit is contained in:
Francesco Occhipinti
2018-08-01 12:32:16 -07:00
committed by John MacFarlane
parent 08694efd89
commit 2661658a69
3 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
$if(title)$
$title$
$if(titleblock)$
$titleblock$
$endif$
$for(author)$