mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
disable ToC if enableToc: false
This commit is contained in:
parent
efeaf9b49c
commit
8f15c5f8c1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
{{partial "darkmode.html" .}}
|
{{partial "darkmode.html" .}}
|
||||||
</header>
|
</header>
|
||||||
<article>
|
<article>
|
||||||
{{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
|
{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false)) }}
|
||||||
<aside class="mainTOC">
|
<aside class="mainTOC">
|
||||||
<h3>Table of Contents</h3>
|
<h3>Table of Contents</h3>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
|
|
Loading…
Reference in a new issue