Added dateFormat site Param
Makes it possible to use any date format
This commit is contained in:
parent
8b3973dc2f
commit
85b773e7bf
|
@ -1,5 +1,5 @@
|
||||||
{{ if eq site.Language.Lang "it" }}
|
{{ if site.Params.dateFormat }}
|
||||||
{{ .Format "02-01-2006" }}
|
{{ .Format site.Params.dateFormat }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Format "2006-01-02" }}
|
{{ .Format "2006-01-02" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue