From 5877449148d7e4aceeb6e2a809a78c90f61385c8 Mon Sep 17 00:00:00 2001 From: MM <14907823+MirMiz@users.noreply.github.com> Date: Sun, 23 Apr 2023 23:04:01 +0200 Subject: use dateFormat instead of .Date.Format --- layouts/issues/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/issues/single.html') diff --git a/layouts/issues/single.html b/layouts/issues/single.html index 0dd8052..9aa135b 100644 --- a/layouts/issues/single.html +++ b/layouts/issues/single.html @@ -21,7 +21,7 @@

{{ T "lastChecked" }}: {{ if .Site.Params.dateFormat }} - {{ .Lastmod.Format .Site.Params.dateFormat }} + {{ dateFormat .Site.Params.dateFormat .Lastmod }} {{ else }} {{ .Lastmod.Format "January 2, 2006 at 3:04 PM" }} {{ end }} -- cgit v1.2.3-70-g09d2