Fix date i18n

This commit is contained in:
Luiz F. A. de Prá
2022-02-25 12:11:29 -03:00
parent f67caf19b9
commit 680c7ab860
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
<ul>
{{ range .Paginator.Pages }}
<li>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<span class="date">{{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}