update datetime.html
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
{{ $locales := index site.Data.locales .lang }}
|
{{ $locales := index site.Data.locales .lang }}
|
||||||
{{ $dateFormat := default "02/01/2006" $locales.df.post.strftime }}
|
{{ $dateFormat := default "02/01/2006" (i18n "df.post.strftime") }}
|
||||||
{{ $dayjsFormat := default "DD/MM/YYYY" $locales.df.post.dayjs }}
|
{{ $dayjsFormat := default "DD/MM/YYYY" (i18n "df.post.dayjs") }}
|
||||||
|
|
||||||
<time
|
<time
|
||||||
{{ if .class }}class="{{ .class }}"{{ end }}
|
{{ if .class }}class="{{ .class }}"{{ end }}
|
||||||
|
Reference in New Issue
Block a user