thrrgilag.net/themes/binario/layouts/partials/post_toc.html
Morgan McMillian 022c04d286 new site theme
2019-09-07 12:40:58 -07:00

6 lines
No EOL
196 B
HTML

{{ if .Param "toc" }}
<details class="post__toc toc" {{ if .Params.tocOpen }}open{{ end }}>
<summary class="toc__title">{{- T "post_toc" -}}</summary>
{{ .TableOfContents }}
</details>
{{ end }}