fix date display

This commit is contained in:
John Bowdre 2023-09-04 16:45:00 -05:00
parent 17b9fd30ab
commit 24bd97cb1e

View file

@ -3,7 +3,7 @@
{{ if or (.Params.description) (.Params.date) }}
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
<p>
{{ with $postDate }}<table><tr><td>posted:</td><td>{{ . }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
{{ if .Params.date }}<table><tr><td>posted:</td><td>{{ $postDate }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
</p>
<p>
{{- with .Params.tags -}}