From 6d3db3895eff105b7daf684bcf9ca16250616e80 Mon Sep 17 00:00:00 2001 From: Nicholas Duffy Date: Mon, 10 Sep 2018 08:51:55 -0600 Subject: [PATCH] Fix author image URL The authorImage URL was created like `http://example.comimages/me.png` missing a slash in between the base URL and the image. This adds the missing slash. --- 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 67c73d4..582f544 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -7,7 +7,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