pub widget: Fix spacing around year in detailed list view

Ensure there is always a space between publication and year.

Fix #520
This commit is contained in:
George Cushen committed 2018-04-19 20:02:48 +01:00
1 parent c586b640f9
commit c1fd6ad526
1 file changed
+4 -4
@@ -38,11 +38,11 @@
<div class="pub-publication">
{{ 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" }}
</div>
<div class="pub-links">