diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.html4 | 3 | ||||
-rw-r--r-- | data/templates/default.html5 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/default.html4 b/data/templates/default.html4 index 5f9b43e47..f0dd8880e 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -47,6 +47,9 @@ $endif$ $endif$ $if(toc)$ <div id="$idprefix$TOC"> +$if(toc-title)$ +<h2 id="$idprefix$toc-title">$toc-title$</h2> +$endif$ $table-of-contents$ </div> $endif$ 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$ |