diff --git a/layouts/partials/widgets/hero.html b/layouts/partials/widgets/hero.html index 078e7953..1656410c 100644 --- a/layouts/partials/widgets/hero.html +++ b/layouts/partials/widgets/hero.html @@ -5,7 +5,7 @@ {{/* Compute image path outside of HTML style element due to Hugo limitation. */}} {{ $overlay_img := "" }} {{ if $header.overlay_img }} - {{ $overlay_img = (printf "img/%s" $header.overlay_img) | relURL }} + {{ $overlay_img = (printf "img/%s" $header.overlay_img) }} {{end}}