From 82e9b29bf4092ad3d5e1fdf81380e9d465e0e333 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 8 Oct 2020 09:21:57 +0530 Subject: [PATCH] post-cover: fix strange `/./ ` in cover image url #13 --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 97821ccd..a4c847f5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -31,7 +31,7 @@ {{- if (or (fileExists (path.Join "static" .Params.cover.image)) (hasPrefix .Params.cover.image "http://") (hasPrefix .Params.cover.image "https://")) }} {{ .Params.cover.alt | plainify }} {{- else}} - {{ .Params.cover.alt | plainify }} + {{ .Params.cover.alt | plainify }} {{- end}}

{{.Params.cover.caption | markdownify }}