diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index a6c49ed..8020370 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -1,8 +1,10 @@ {{ $featured_image := partial "func/GetFeaturedImage.html" . }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} -
-
+ {{ $featured_image_class := .Params.featured_image_class | default "cover bg-center" }} + {{ $cover_dimming_class := .Params.cover_dimming_class | default "bg-black-60" }} +
+
{{ partial "site-navigation.html" . }}
{{ if not .Params.omit_header_text }} diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index 7a121fb..777b436 100644 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -1,8 +1,10 @@ {{ $featured_image := partial "func/GetFeaturedImage.html" . }} {{ if $featured_image }} {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} -
-
+ {{ $featured_image_class := site.Params.featured_image_class | default "cover bg-top" }} +
+ {{ $cover_dimming_class := site.Params.cover_dimming_class | default "bg-black-60" }} +
{{ partial "site-navigation.html" .}}