Change logic on rendering or not ToC
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@
|
||||
{{ define "header" }}
|
||||
{{ partial "docs/header" . }}
|
||||
|
||||
{{ if default true (default .Site.Params.BookToC .Params.BookToC) }}
|
||||
{{ if partial "docs/toc-show" . }}
|
||||
<aside class="hidden">
|
||||
{{ template "toc" . }}
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user