From 519d48f94b9f3d35f53fe6abbd3160bf21272588 Mon Sep 17 00:00:00 2001
From: Cyrill Raccaud <miaucl@users.noreply.github.com>
Date: Mon, 21 Oct 2024 08:07:29 +0000
Subject: [PATCH] complete the feature for the cover dimming class in page

---
 layouts/partials/page-header.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html
index 51eb0e1..a6c49ed 100644
--- a/layouts/partials/page-header.html
+++ b/layouts/partials/page-header.html
@@ -2,7 +2,7 @@
 {{ if $featured_image }}
   {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
   <header class="{{ .Params.featured_image_class | .Site.Params.featured_image_class | default "cover bg-top" }}" style="background-image: url('{{ $featured_image }}');">
-    <div class="bg-black-60">
+    <div class="{{ .Params.cover_dimming_class | .Site.Params.cover_dimming_class | default "bg-black-60" }}">
       {{ partial "site-navigation.html" . }}
       <div class="tc-l pv6 ph3 ph4-ns">
         {{ if not .Params.omit_header_text }}

--
Gitblit v1.10.0