You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
493 B

{{ if and (isset .Params "toc") .Params.toc }}
<nav id="contents">
<ol class="js-toc">
<script type="text/javascript">
// Where to render the table of contents.
tocSelector: '.js-toc',
// Where to grab the headings to build the table of contents.
contentSelector: '.content',
// Which headings to grab inside of the contentSelector element.
headingSelector: 'h1, h2, h3'
{{ end }}