diff --git a/layouts/index.html b/layouts/index.html index df10349..dfb7518 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,7 +8,7 @@

{{ .Title }}

- {{- .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}} + {{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}} {{ .Summary }} {{ if .Truncated }} diff --git a/layouts/partials/post_content.html b/layouts/partials/post_content.html index 329d103..5f68be4 100644 --- a/layouts/partials/post_content.html +++ b/layouts/partials/post_content.html @@ -5,7 +5,7 @@ {{ if not .Date.IsZero }} - {{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}} + {{ .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}} {{ end }} {{ with .Params.categories }}