From 0f8460fff0bf79418fdb6a11b59e27e6d626d042 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Fri, 14 Feb 2020 11:08:20 +0100 Subject: [PATCH] fix path to image --- themes/hugo-sustain/layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/hugo-sustain/layouts/partials/head.html b/themes/hugo-sustain/layouts/partials/head.html index 164da3f..6226f06 100644 --- a/themes/hugo-sustain/layouts/partials/head.html +++ b/themes/hugo-sustain/layouts/partials/head.html @@ -13,7 +13,7 @@ {{- end -}} {{- end -}} {{- $image := "/img/profile.jpg" -}} - {{- if isset .Params "headerimage" }} {{ $image = .Params.headerimage }} {{ end -}} + {{- if isset .Params "headerimage" }} {{ $image = print "img/" .Params.headerimage }} {{ end -}} @@ -41,7 +41,7 @@ {{ "" | safeHTML }} - +