From bcdb012e1c80e5516d9e4c9e68e3f272b3c01bc7 Mon Sep 17 00:00:00 2001 From: Christoph Schindlbeck Date: Fri, 15 Apr 2022 19:36:26 +0200 Subject: [PATCH] Aktuelles --- config.toml | 7 ++++ public/css/style.css | 11 +++++++ public/index.html | 32 ++++++++++++++++++- themes/infinity-hugo/i18n/en.yaml | 2 ++ themes/infinity-hugo/layouts/index.html | 2 ++ .../infinity-hugo/layouts/partials/about.html | 2 +- .../layouts/partials/navigation.html | 7 ++++ .../infinity-hugo/layouts/partials/news.html | 21 ++++++++++++ themes/infinity-hugo/static/css/style.css | 12 +++++++ 9 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 themes/infinity-hugo/layouts/partials/news.html diff --git a/config.toml b/config.toml index b090bb8..4172fe4 100644 --- a/config.toml +++ b/config.toml @@ -9,6 +9,7 @@ theme = "infinity-hugo" [params.navigation] logo = "images/woidcamp_logo01.png" home = "Home" +news = "Aktuelles" about = "About" details = "Details" service = "Info" @@ -25,6 +26,12 @@ countdownYear = "2022" countdownMonth = "08" countdownDay = "18" +# News Section +[params.news] +enable = true +heading = "Aktuelles" +description = "Haltet Eure Klickfinger bereit, die zweite Runde Tickets gibt's am 15.05.2022 ab 20:00 Uhr." + # About Section [params.about] enable = true diff --git a/public/css/style.css b/public/css/style.css index 46a0ef0..cc263fa 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -459,6 +459,17 @@ a:active { color: #666; } +/*-- + News start +--*/ +.news .content h3 { + font-size: 26px; + font-weight: 300; + line-height: 36px; + color: #7e7e7e; + margin-bottom: 20px; +} + /*-- About start --*/ diff --git a/public/index.html b/public/index.html index 73a1e7c..d270df8 100644 --- a/public/index.html +++ b/public/index.html @@ -57,6 +57,13 @@ + + + + {{ if .Site.Params.news.enable }} + + {{ end }} {{ if .Site.Params.about.enable }}