From e8baa4a3ac4c63b1e764511bdf9e25a198209b31 Mon Sep 17 00:00:00 2001 From: Alison Hill Date: Fri, 14 Dec 2018 09:05:23 -0800 Subject: [PATCH] reverse PR that added additional slash --- layouts/partials/sidebar.html | 2 +- layouts/partials/sidebar/about.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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