Merge branch 'master' into 'master'

Added dateFormat site Param

See merge request gabmus/hugo-ficurinia!8
This commit is contained in:
GabMus 2023-02-22 07:14:53 +00:00
commit 72da9f00c7
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{ if eq site.Language.Lang "it" }}
{{ .Format "02-01-2006" }}
{{ if site.Params.dateFormat }}
{{ .Format site.Params.dateFormat }}
{{ else }}
{{ .Format "2006-01-02" }}
{{ end }}