From 56950ff94137bd375a3d1ab0e4e4f88099e8f3cf Mon Sep 17 00:00:00 2001 From: Christoph Schindlbeck Date: Fri, 3 Feb 2023 23:24:29 +0100 Subject: [PATCH] config flag for showing date in header --- config.toml | 1 + themes/infinity-hugo/layouts/partials/hero-area.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 1d33050..3cd6f0f 100644 --- a/config.toml +++ b/config.toml @@ -32,6 +32,7 @@ countdownHour = "18" countdownMinute = "0" countdownSecond = "0" disableCountdown = true +showSubtitle = false # 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 eda234a..8dabea8 100644 --- a/themes/infinity-hugo/layouts/partials/hero-area.html +++ b/themes/infinity-hugo/layouts/partials/hero-area.html @@ -17,9 +17,11 @@ {{ . }}

{{ end }} - +

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