From 37bb3cc6991d3741dca08a52d41b1b3beecd1825 Mon Sep 17 00:00:00 2001
From: cdeguise <christopher.deguise@crushingcomplexity.com>
Date: Sun, 04 Nov 2018 03:09:03 +0000
Subject: [PATCH] Removed hardcoded theme sample hero image. This will allow the user to "blank" out the hero default set in the config. The if statement for blank was unreachable. (#133)

---
 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 a1d3e31..0b9649e 100755
--- a/layouts/partials/site-header.html
+++ b/layouts/partials/site-header.html
@@ -1,4 +1,4 @@
-{{ $featured_image := .Param "featured_image" | default "images/gohugo-default-sample-hero-image.jpg" }}
+{{ $featured_image := .Param "featured_image"}}
 {{ 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