config flag for showing date in header

This commit is contained in:
Christoph Schindlbeck 2023-02-03 23:24:29 +01:00
parent 2046d6dff7
commit 56950ff941
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,7 @@ countdownHour = "18"
countdownMinute = "0" countdownMinute = "0"
countdownSecond = "0" countdownSecond = "0"
disableCountdown = true disableCountdown = true
showSubtitle = false
# News Section # News Section
[params.news] [params.news]

View File

@ -17,9 +17,11 @@
{{ . }} {{ . }}
</p> </p>
{{ end }} {{ end }}
<!-- <p class="wow fadeInDown" data-wow-delay="0.5s" data-wow-duration=".5s" style="font-size:25pt;text-align:center"> {{ if .Site.Params.hero.showSubtitle }}
<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 18.08.2022 - 21.08.2022 im VVoid
</p> --> </p>
{{ end }}
{{ with .Site.Params.hero.btnText }} {{ with .Site.Params.hero.btnText }}
<div class="hidden-sm-down wow fadeInDown" data-wow-delay="0.7s" data-wow-duration=".7s" style="text-align:center"> <div class="hidden-sm-down wow fadeInDown" data-wow-delay="0.7s" data-wow-duration=".7s" style="text-align:center">
<a class="btn btn-home" href="#{{ i18n "about" | urlize }}" role="button"> <a class="btn btn-home" href="#{{ i18n "about" | urlize }}" role="button">