display date properly in hero area

This commit is contained in:
Christoph Schindlbeck 2024-02-13 21:30:48 +01:00
parent 6a3e9f38da
commit f8238e1294
2 changed files with 4 additions and 3 deletions

View File

@ -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]

View File

@ -17,9 +17,9 @@
{{ . }}
</p>
{{ end }}
{{ if .Site.Params.hero.showSubtitle }}
{{ if .Site.Params.hero.showDate }}
<p class="wow fadeInDown" data-wow-delay="0.5s" data-wow-duration=".5s" style="font-size:25pt;text-align:center">
18.08.2022 - 21.08.2022 im VVoid
{{ .Site.Params.hero.date}}
</p>
{{ end }}
{{ with .Site.Params.hero.btnText }}