From c1fd6ad526643e8c1a2d20485f0d886aca496d00 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 19 Apr 2018 20:02:48 +0100 Subject: [PATCH] pub widget: Fix spacing around year in detailed list view Ensure there is always a space between publication and year. Fix #520 --- layouts/partials/publication_li_detailed.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/publication_li_detailed.html b/layouts/partials/publication_li_detailed.html index cced0303..23824954 100644 --- a/layouts/partials/publication_li_detailed.html +++ b/layouts/partials/publication_li_detailed.html @@ -38,11 +38,11 @@
{{ if .Params.publication_short }} - {{- .Params.publication_short | markdownify -}}, + {{ .Params.publication_short | markdownify }}, {{ else if .Params.publication }} - {{- .Params.publication | markdownify -}}, - {{- end -}} - {{- .Date.Format "2006" -}} + {{ .Params.publication | markdownify }}, + {{ end }} + {{ .Date.Format "2006" }}