menu: wildspace #642

This commit is contained in:
Sören Weber 2023-09-21 17:24:10 +02:00
parent 493e23ebe1
commit 583f94e4b9
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -34,8 +34,8 @@
{{- $isPostSelf := and ($isSelfFound) (not $isSelf) }}
{{- $hidden_node := or (.node.Params.hidden) (eq .node.Title "") }}
{{- $hidden_stem:= or $hidden_node .hiddenstem }}
{{- $hidden_current_stem:= or $hidden_node .hiddencurrent }}
{{- $hidden_stem := or $hidden_node .hiddenstem }}
{{- $hidden_current_stem := or $hidden_node .hiddencurrent }}
{{- $hidden_from_current := or (and $hidden_node (not $isAncestor) (not $isSelf) ) (and .hiddencurrent (or $isPreSelf $isPostSelf $isDescendant) ) }}
{{- if $isSelf }}
{{- $currentNode.Scratch.Set "relearnIsHiddenNode" $hidden_node }}