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

@ -1,8 +1,7 @@
<aside class="col-lg-4 order-4 order-lg-2" data-pagefind-ignore="all">
<div class="bg-white mb-4">
<h4 class="mb-4">{{ i18n "categories" }}</h4>
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ $transliterations := $data.transliterations.transliterations }}
{{ $transliterations := .Site.Data.transliterations.transliterations }}
{{- if isset .Site.Taxonomies "categories" }}
{{- if not (eq (len .Site.Taxonomies.categories) 0) }}
<ul class="list-inline tag-list">

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 }}

View File

@ -1,6 +1,4 @@
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ with $data.homepage.info }}
{{ with .Site.Data.homepage.info }}
<section class="section bg-cover" data-background="{{ .bg_image | absURL }}">
<div class="container">
<div class="row">