cupper-hugo-theme/layouts/partials/toc.html

7 lines
191 B
HTML
Raw Normal View History

2021-09-12 21:24:53 +02:00
{{ if eq .Params.toc true }}
2017-11-02 16:39:45 +01:00
<nav class="toc" aria-labelledby="toc-heading">
2021-09-12 21:24:53 +02:00
<strong id="toc-heading">{{ T "table_of_contents" }}</strong>
{{ .TableOfContents }}
2017-11-02 16:39:45 +01:00
</nav>
{{ end }}