mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
Fix: can't give argument to non-function not .Params.hidden
Build fail when using Hugo 0.71.1.
This commit is contained in:
parent
d4abb3c9a1
commit
ca0872ecb5
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
|||
{{ $currentFileUniqueID := "" }}
|
||||
{{ with $currentNode.File }}{{ $currentFileUniqueID = .UniqueID }}{{ end }}
|
||||
{{with .sect}}
|
||||
{{if and .IsSection ((not .Params.hidden) or $.showhidden)}}
|
||||
{{if and .IsSection (or (not .Params.hidden) $.showhidden)}}
|
||||
{{safeHTML .Params.head}}
|
||||
<li data-nav-id="{{.RelPermalink}}" title="{{.Title}}" class="dd-item
|
||||
{{if .IsAncestor $currentNode }}parent{{end}}
|
||||
|
|
Loading…
Reference in a new issue