Skip to content

Commit 96d384a

Browse files
authored
Support toc-title in revealjs (jgm#7171)
* Support toc-title in revealjs * Add semantic HTML "nav" tag Closes jgm#7170. As with default.html5
1 parent b9b22e3 commit 96d384a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

data/templates/default.revealjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ $endif$
5959
$endif$
6060
$if(toc)$
6161
<section id="$idprefix$TOC">
62+
<nav role="doc-toc">
63+
$if(toc-title)$
64+
<h2 id="$idprefix$toc-title">$toc-title$</h2>
65+
$endif$
6266
$table-of-contents$
67+
</nav>
6368
</section>
6469
$endif$
6570

0 commit comments

Comments
 (0)