Enable menus in new taxonomy pages
This commit is contained in:
parent
ffb4353273
commit
c63dac6e7f
@ -30,7 +30,8 @@
|
||||
<a class="nav-link{{ if or
|
||||
($.Page.IsMenuCurrent "main" .)
|
||||
($.Page.HasMenuCurrent "main" .)
|
||||
(and (eq $.Page.Type "news") (eq .Identifier "aktuell"))
|
||||
(and (eq $.Page.Type "news") (eq .Identifier "aktuell") )
|
||||
(and (eq $.Page.Type "turniermeldung") (eq .Identifier "aktuell") )
|
||||
}} active{{ end }}" href="{{ .URL }}">
|
||||
{{/*{{ if .Pre }}
|
||||
{{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }}
|
||||
|
@ -4,6 +4,7 @@
|
||||
($currentPage.IsMenuCurrent "main" .)
|
||||
($currentPage.HasMenuCurrent "main" .)
|
||||
(and (eq $currentPage.Type "news") (eq .Identifier "aktuell") )
|
||||
(and (eq $currentPage.Type "turniermeldung") (eq .Identifier "aktuell") )
|
||||
}}
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
|
Loading…
Reference in New Issue
Block a user