diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index c712005..2e33fec 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -8,7 +8,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
diff --git a/layouts/partials/sidebar/about.html b/layouts/partials/sidebar/about.html index 5e93517..26c8b6f 100644 --- a/layouts/partials/sidebar/about.html +++ b/layouts/partials/sidebar/about.html @@ -4,7 +4,7 @@ {{ 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