From 5208cf5d88a720b5d93e1f5c4bb19457f18d5ee0 Mon Sep 17 00:00:00 2001 From: gcnyin Date: Sun, 20 Dec 2020 19:04:18 +0800 Subject: [PATCH] remove absurl --- layouts/partials/page-header.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 60f266b..f787f0a 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -1,7 +1,6 @@ {{ $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 }} + {{ $featured_image := (trim $featured_image "/") }}
{{ partial "site-navigation.html" . }}