2022-04-05 09:25:24 +03:00
|
|
|
{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) (gt .WordCount 250)) }}
|
|
|
|
<aside class="mainTOC">
|
|
|
|
<details {{ if $.Site.Data.config.openToc }}open {{ end }}>
|
2022-08-24 06:32:40 +03:00
|
|
|
<summary>{{ i18n "toc" }}</summary>
|
2022-04-05 09:25:24 +03:00
|
|
|
{{ .TableOfContents }}
|
|
|
|
</details>
|
|
|
|
</aside>
|
|
|
|
{{end}}
|