Allow geekdocHiddenTocTree as Page parameter
This commit is contained in:
parent
92254349c4
commit
90f285c335
2 changed files with 9 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
<ul>
|
||||
{{ range .sect.GroupBy "Weight" }}
|
||||
{{ range .ByTitle }}
|
||||
{{ if not .Params.geekdocHidden }}
|
||||
{{ if or (not .Params.geekdocHidden) (not (default true .Params.geekdocHiddenTocTree)) }}
|
||||
<li>
|
||||
{{ if or .Content .Params.geekdocFlatSection }}
|
||||
<span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue