website/layouts/partials/date.html

6 lines
119 B
HTML

{{ if eq site.Language.Lang "it" }}
{{ .Format "02-01-2006" }}
{{ else }}
{{ .Format "2006-01-02" }}
{{ end }}