From 55d59be2e26592de4b2a13565d8bffdafec1fa1f Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 7 Nov 2026 19:17:45 +0100 Subject: [PATCH] Add page title to home page with same styling as News/FAQ pages - Added

with page title to home page - Uses same structure as list pages (News, FAQ, Tours) - Title inherits styling from existing .title class (--fs-xxl) --- assets/css/_custom.css | 10 +++------- layouts/home.html | 3 +++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/assets/css/_custom.css b/assets/css/_custom.css index 1c0f6a4..5dcf79f 100644 --- a/assets/css/_custom.css +++ b/assets/css/_custom.css @@ -143,9 +143,9 @@ th, td { font-variant-numeric: tabular-nums; } -.title-post-date { - font-size: .7em; - margin-left: 2em; +.title-post-date { margin-left: 0em; + display: block; + font-size: 0.5em; } /* Zen v7 paints body with --color-body-bg and .page with --color-page-bg. */ @@ -189,10 +189,6 @@ nav a, h2 a { margin-right: 2em; } - -.title-post-date { - margin-left: 0em; -} /* Visible when focused with the keyboard; the visually-hidden class hides it otherwise. */ .skip-link:focus { position: absolute; diff --git a/layouts/home.html b/layouts/home.html index b2600e4..5513a14 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -2,6 +2,9 @@ {{ define "main" -}}
+
+

{{ .Title }}

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