another date format tweak

This commit is contained in:
John Bowdre 2023-08-29 13:38:29 -05:00
parent 0f03fb34f6
commit bb0bf6bf9b

View file

@ -18,7 +18,7 @@
<header class="post__header">
<h1><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<p class="post__meta">
<span class="date">[{{- $postDate }}]{{- if ne $postDate $updateDate }}->[{{ $updateDate }}]{{ end }}</span>
<span class="date">[{{- $postDate }}{{- if ne $postDate $updateDate }} ... {{ $updateDate }}{{ end }}]</span>
</p>
</header>