From f8238e12949e4e78bc236bec59b45cd2ab1ec98c Mon Sep 17 00:00:00 2001 From: Christoph Schindlbeck Date: Tue, 13 Feb 2024 21:30:48 +0100 Subject: [PATCH] display date properly in hero area --- config.toml | 3 ++- themes/infinity-hugo/layouts/partials/hero-area.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 2d24872..0af82ea 100644 --- a/config.toml +++ b/config.toml @@ -33,7 +33,8 @@ countdownHour = "18" countdownMinute = "0" countdownSecond = "0" disableCountdown = false -showSubtitle = false +showDate = true +date = "13.06.2024 - 16.06.2024 im VVoid" # News Section [params.news] diff --git a/themes/infinity-hugo/layouts/partials/hero-area.html b/themes/infinity-hugo/layouts/partials/hero-area.html index 8dabea8..2c332e2 100644 --- a/themes/infinity-hugo/layouts/partials/hero-area.html +++ b/themes/infinity-hugo/layouts/partials/hero-area.html @@ -17,9 +17,9 @@ {{ . }}

{{ end }} - {{ if .Site.Params.hero.showSubtitle }} + {{ if .Site.Params.hero.showDate }}

- 18.08.2022 - 21.08.2022 im VVoid + {{ .Site.Params.hero.date}}

{{ end }} {{ with .Site.Params.hero.btnText }}