From c86bd8de266c66f398cc1846dd28a302a4284363 Mon Sep 17 00:00:00 2001 From: Frank Zhao Date: Sat, 10 Apr 2021 19:27:31 +1000 Subject: [PATCH] Add missing slash due to https://github.com/htr3n/hyde-hyde/issues/133 --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index e25638480..e09cbf862 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -16,7 +16,7 @@ {{ if and (isset .Site.Params "authorimage") (not (isset .Site.Params.social "gravatar")) }} {{ with .Site.Params.authorimage }} {{ $strippedSlash := ($.Site.Params.authorimage | replaceRE "^(/)+(.*)" "$2") }} - {{ $authorImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }} + {{ $authorImage := (printf "%s/%s" $.Site.BaseURL $strippedSlash) }}
Author Image