From 5c01de9fd486e81fe3d33c7bd94ba60c40992a45 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 7 Nov 2026 18:20:07 +0100 Subject: [PATCH] Simplify header and move intro text to main content Header changes: - Remove headline and intro text from header - Keep only logo and site name (h1) in header - Remove header__intro section Home page changes: - Move intro/tagline text to main content area - Display at same level as 'News' and other content, not as header - Style as regular body text with .intro-text class Submodule update: - Update hackertours-theme to include intro text styling Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- layouts/home-baseof.html | 9 +++------ layouts/home.html | 4 ++++ themes/zen | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/layouts/home-baseof.html b/layouts/home-baseof.html index 8b591e8..116d459 100644 --- a/layouts/home-baseof.html +++ b/layouts/home-baseof.html @@ -26,12 +26,9 @@ {{ i18n {{ end -}} -
-

{{ .Param "headline" }}

- {{ if .Param "intro" }} -
{{ .Param "intro" }}
- {{ end }} -
+

+{{ site.Title }} +

{{ if hugo.IsMultilingual }}{{ partial "language-selector.html" . }}{{ end -}} {{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}} diff --git a/layouts/home.html b/layouts/home.html index ec93d88..b2600e4 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -2,6 +2,10 @@ {{ define "main" -}}
+{{ if .Param "intro" }} +
{{ .Param "intro" }}
+{{ end }} + {{ .Content }} {{ $pages := .Site.RegularPages.RelatedTo (keyVals "tags" "current-event") -}} diff --git a/themes/zen b/themes/zen index 945820e..2fce4ed 160000 --- a/themes/zen +++ b/themes/zen @@ -1 +1 @@ -Subproject commit 945820ec5b526065c796ede14dc44a4a4f0a3335 +Subproject commit 2fce4ed623319c3dd7c12b9a0e3a59baa14c7dfb