mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 05:19:01 +00:00
9 lines
289 B
HTML
9 lines
289 B
HTML
|
{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) (gt .WordCount 250)) }}
|
||
|
<aside class="mainTOC">
|
||
|
<details {{ if $.Site.Data.config.openToc }}open {{ end }}>
|
||
|
<summary>Table of Contents</summary>
|
||
|
{{ .TableOfContents }}
|
||
|
</details>
|
||
|
</aside>
|
||
|
{{end}}
|