add separator between publish date and last mod date

This commit is contained in:
John Bowdre 2021-12-20 16:35:55 -06:00
parent 88a7c814ff
commit 88c0672817

View file

@ -12,7 +12,7 @@
{{- if $showDate }}
<span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
<span class="post_date">
{{ $postDate -}}{{- if ne $postDate $updateDate }} <span>{{- partial "sprite" (dict "icon" "edit") -}}</span>{{- $updateDate -}}{{- end }}
{{ $postDate -}}{{- if ne $postDate $updateDate }}&nbsp;&nbsp;· <span>{{- partial "sprite" (dict "icon" "edit") -}}</span>{{- $updateDate -}}{{- end }}
</span>
{{- $scratch.Set "writeSeparator" true }}
{{- end }}