fix ausblick, move data out of language
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user