HTML template: make TOC more customizable.

Users can now insert a header before the table of contents,
or include other styling.
Thanks to Bruce D'Arcus for the suggestion.
This commit is contained in:
John MacFarlane 2011-07-23 12:03:33 -07:00
parent 8590fab135
commit 8cb5fef740

View file

@ -50,7 +50,7 @@ $if(title)$
$if(html5)$
<header>
$else$
<div id="header">
<div id="$idprefix$header">
$endif$
<h1 class="title">$title$</h1>
$for(author)$
@ -66,7 +66,15 @@ $else$
$endif$
$endif$
$if(toc)$
$if(html5)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$else$
<div id="$idprefix$TOC">
$toc$
</div>
$endif$
$endif$
$body$
$for(include-after)$