From 3952bfc85cee45a2c2b096da66723b626926ca0e Mon Sep 17 00:00:00 2001 From: George Cushen Date: Fri, 26 Feb 2021 16:45:04 +0000 Subject: [PATCH] fix: previous commit --- wowchemy/layouts/partials/widget_page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wowchemy/layouts/partials/widget_page.html b/wowchemy/layouts/partials/widget_page.html index 75159efe..387f603d 100644 --- a/wowchemy/layouts/partials/widget_page.html +++ b/wowchemy/layouts/partials/widget_page.html @@ -41,10 +41,10 @@ {{ end }} {{ if $bg.image }} - {{/* See Hugo note on linking assets in styles: https://github.com/gohugoio/hugoThemes#common-permalink-issues */}}# + {{/* See Hugo note on linking assets in styles: https://github.com/gohugoio/hugoThemes#common-permalink-issues */}} {{ $bg_img := resources.Get (printf "media/%s" $bg.image) }} {{ if $bg_img }} - {{ $style_bg = printf "%sbackground-image: url('%s');" $style_bg .Permalink }} + {{ $style_bg = printf "%sbackground-image: url('%s');" $style_bg $bg_img.Permalink }} {{ else }} {{ errorf "Couldn't find `%s` in the `assets/media/` folder - please add it." $bg.image }} {{ end }}