mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-14 10:48:30 +00:00
9 lines
316 B
HTML
9 lines
316 B
HTML
|
{{- $toc := default .Site.Params.Entry.toc .Params.toc -}}
|
||
|
{{- $tocOpen := default .Site.Params.Entry.tocOpen .Params.tocOpen -}}
|
||
|
|
||
|
{{- if $toc }}
|
||
|
<details class="entry__toc toc" {{ if $tocOpen }}open{{ end }}>
|
||
|
<summary class="toc__title">{{- T "entry_toc" -}}</summary>
|
||
|
{{ .TableOfContents }}
|
||
|
</details>
|
||
|
{{- end }}
|