diff options
author | Alexandre Franke <alexandre.franke@gmail.com> | 2019-11-24 02:13:23 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-23 17:13:23 -0800 |
commit | a09edd1703d9ff103a2157c0b0e910d740ce8629 (patch) | |
tree | 10ae6ed90a2effd6eb8da9c3b26b94bf514c8be6 /data/templates/default.html5 | |
parent | 39fde70c41d82491985d3bf29ceea175ab93eeff (diff) | |
download | pandoc-a09edd1703d9ff103a2157c0b0e910d740ce8629.tar.gz |
Add support for $toc-title$ to HTML (4 and 5) (#5930)
Diffstat (limited to 'data/templates/default.html5')
-rw-r--r-- | data/templates/default.html5 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.html5 b/data/templates/default.html5 index eff6e73ab..0676215d4 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -50,6 +50,9 @@ $endif$ $endif$ $if(toc)$ <nav id="$idprefix$TOC" role="doc-toc"> +$if(toc-title)$ +<h2 id="$idprefix$toc-title">$toc-title$</h2> +$endif$ $table-of-contents$ </nav> $endif$ |