fix ausblick, move data out of language
All checks were successful
website-main / prod-build (push) Successful in 1m13s
website-main / test-build (push) Successful in 58s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
2023-06-19 20:30:02 +02:00
parent 5a1d9e743a
commit 86f38b2137
10 changed files with 15 additions and 16 deletions

View File

@ -102,7 +102,7 @@
</noscript>
</header>
{{ $top_banner := (index .Site.Data .Site.Language.Lang).homepage.top_banner }}
{{ $top_banner := .Site.Data.homepage.top_banner }}
{{ if and $top_banner.enable }}
{{ if or (not $top_banner.temporarily.enable) (and $top_banner.temporarily.enable (and (le ($top_banner.temporarily.start_date | time.AsTime).Unix now.Unix ) (ge ($top_banner.temporarily.end_date | time.AsTime).Unix now.Unix))) }}
{{ with $top_banner }}