mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 00:14:05 +00:00
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:
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">
|
||||
|
||||
Reference in new issue
Block a user