Turniermeldunen Struktur anlegen #32

Merged
christian merged 9 commits from feat/turniermeldungen into develop 2024-01-14 19:46:54 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit c63dac6e7f - Show all commits

View File

@ -30,7 +30,8 @@
<a class="nav-link{{ if or <a class="nav-link{{ if or
($.Page.IsMenuCurrent "main" .) ($.Page.IsMenuCurrent "main" .)
($.Page.HasMenuCurrent "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 }}"> }} active{{ end }}" href="{{ .URL }}">
{{/*{{ if .Pre }} {{/*{{ if .Pre }}
{{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }} {{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }}

View File

@ -4,6 +4,7 @@
($currentPage.IsMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .)
($currentPage.HasMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .)
(and (eq $currentPage.Type "news") (eq .Identifier "aktuell") ) (and (eq $currentPage.Type "news") (eq .Identifier "aktuell") )
(and (eq $currentPage.Type "turniermeldung") (eq .Identifier "aktuell") )
}} }}
{{ if .HasChildren }} {{ if .HasChildren }}
{{ range .Children }} {{ range .Children }}