🔧 Revert to Date.Format instead of time.Format

pull/91/head
Carlos Beleña 2022-01-24 00:38:55 +01:00
parent 57c42a12c4
commit 6313f69328
No known key found for this signature in database
GPG Key ID: A6EE66C946E343D1
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<time datetime="{{ . }}">
{{- . | time.Format (site.Params.article.dateFormat | default "2 January 2006") -}}
{{- .Format (site.Params.article.dateFormat | default "2 January 2006") -}}
</time>
{{- /* Trim EOF */ -}}