mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-29 17:52:33 +08:00
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:
committed by
John MacFarlane
parent
08694efd89
commit
2661658a69
@@ -1,5 +1,5 @@
|
||||
$if(title)$
|
||||
$title$
|
||||
$if(titleblock)$
|
||||
$titleblock$
|
||||
|
||||
$endif$
|
||||
$for(author)$
|
||||
|
||||
Reference in New Issue
Block a user