hugo-tufte/layouts/partials/toc.html

8 lines
166 B
HTML

{{ if .Params.toc }}
<section>
<details closed class="toc">
<summary>Table of Contents</summary>
{{ .TableOfContents }}
</details>
</section>
{{ end }}