thrrgilag.net/themes/binario/layouts/partials/post_toc.html

6 lines
196 B
HTML
Raw Normal View History

2019-09-07 19:40:58 +00:00
{{ if .Param "toc" }}
<details class="post__toc toc" {{ if .Params.tocOpen }}open{{ end }}>
<summary class="toc__title">{{- T "post_toc" -}}</summary>
{{ .TableOfContents }}
</details>
{{ end }}