Move headings down to start at H3 at Mario's direction

This commit is contained in:
Andrew Manning
2016-12-19 22:12:08 -05:00
parent 87248c9f47
commit d4ab74b25e
10 changed files with 289 additions and 171 deletions

View File

@@ -3,10 +3,10 @@
<h2>{{$title}}: {{$heading}}</h2>
</div>
<div class="section-content-wrapper" id="doco-content">
<h1 class="fakelink" id="doco-top-toc-heading"><span onclick="docoTocToggle(); return false;">
<h3 class="fakelink" id="doco-top-toc-heading"><span onclick="docoTocToggle(); return false;">
<i class="fakelink fa fa-caret-right" id="doco-toc-toggle"></i>
{{$tocHeading}}
</span></h1>
</span></h3>
<ul id="doco-top-toc" style="margin-bottom: 1.5em; display: none;"></ul>
{{$content}}
</div>
@@ -16,7 +16,7 @@
// Generate the table of contents in the side nav menu (see view/tpl/help.tpl)
$(document).ready(function () {
$('#doco-top-toc').toc({content: "#doco-content", headings: "h1,h2,h3,h4"});
$('#doco-top-toc').toc({content: "#doco-content", headings: "h3,h4,h5,h6"});
});
function docoTocToggle() {