Fixed date localization on post card

This commit is contained in:
Augusto Pace 2023-10-23 12:20:13 +02:00
parent 69611695e7
commit e038005f6f

View file

@ -12,7 +12,7 @@
{{ end }} {{ end }}
</div> </div>
<div class="card-footer"> <div class="card-footer">
<span class="float-left">{{ .Date.Format "January 2, 2006" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}</span> <span class="float-left">{{ .Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }}{{ end }}</span>
<a <a
href="{{ .RelPermalink | relLangURL }}" href="{{ .RelPermalink | relLangURL }}"
class="float-right btn btn-outline-info btn-sm" class="float-right btn btn-outline-info btn-sm"