From e1549ac3b8676b3f3d042867f9143b38bd530d48 Mon Sep 17 00:00:00 2001 From: gcnyin Date: Sun, 20 Dec 2020 16:07:34 +0800 Subject: [PATCH] [fix] add slash before $featured_image in page-header.html to show the image correctly --- layouts/partials/page-header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 9f2ebd5..60f266b 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 */}} {{ $featured_image := (trim $featured_image "/") | absURL }} -
+
{{ partial "site-navigation.html" . }}