From 25dc65d0a0edda5f81f612a04acb3ee478f8f375 Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Sat, 06 Jun 2026 04:25:59 +0000
Subject: [PATCH] fix: make page header height configurable
---
layouts/_partials/page-header.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/layouts/_partials/page-header.html b/layouts/_partials/page-header.html
index 815cb95..bb3880e 100644
--- a/layouts/_partials/page-header.html
+++ b/layouts/_partials/page-header.html
@@ -3,10 +3,11 @@
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $featured_image_class := .Params.featured_image_class | compare.Default "cover bg-center" }}
{{ $cover_dimming_class := .Params.cover_dimming_class | compare.Default "bg-black-60" }}
+ {{ $header_section_class := .Param "header_section_class" | compare.Default "tc-l pv6 ph3 ph4-ns" }}
<header class="{{ $featured_image_class }}" style="background-image: url('{{ $featured_image }}');">
<div class="{{ $cover_dimming_class }}">
{{ partials.Include "site-navigation.html" . }}
- <div class="tc-l pv6 ph3 ph4-ns">
+ <div class="{{ $header_section_class }}">
{{ if not .Params.omit_header_text }}
<div class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | compare.Default .Site.Title }}</div>
{{ with .Params.description }}
--
Gitblit v1.10.0