From 3789b8edae1b46e5f91031037f4f9d33972377d3 Mon Sep 17 00:00:00 2001
From: Troy Lindsay <tlindsay42@users.noreply.github.com>
Date: Mon, 10 Jan 2022 20:24:14 +0000
Subject: [PATCH] Standardize featured_image logic (#473) (#474)

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

diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html
index 10a682f..aad8749 100755
--- a/layouts/partials/site-header.html
+++ b/layouts/partials/site-header.html
@@ -1,4 +1,4 @@
-{{ $featured_image := .Param "featured_image"}}
+{{ $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 := (trim $featured_image "/") | absURL }}

--
Gitblit v1.10.0