From 6c6b1bd1035ae68a18bd83faf7ff1297ead60e8c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 3 Jun 2022 12:51:52 +0200 Subject: Do not allow modification of date formats that are required by spec --- layouts/partials/post-meta/date.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/post-meta/date.html') diff --git a/layouts/partials/post-meta/date.html b/layouts/partials/post-meta/date.html index e5626cf..42747f2 100644 --- a/layouts/partials/post-meta/date.html +++ b/layouts/partials/post-meta/date.html @@ -1,5 +1,5 @@ -{{ $date := .Date | time.Format (site.Params.dateformat | default "January 02, 2006") }} -{{ $lastmod := .Lastmod | time.Format (site.Params.dateformat | default "January 02, 2006") }} +{{ $date := .Date | time.Format (site.Params.dateFormat | default "January 02, 2006") }} +{{ $lastmod := .Lastmod | time.Format (site.Params.dateFormat | default "January 02, 2006") }}