aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMM <14907823+MirMiz@users.noreply.github.com>2023-04-23 23:04:01 +0200
committerGitHub <noreply@github.com>2023-04-23 23:04:01 +0200
commit5877449148d7e4aceeb6e2a809a78c90f61385c8 (patch)
tree5f6b1b38368f8436c7af8aa702ed547ec5d377e0 /layouts
parent341d731293ca0b3365005423afe7b98f6e0efca8 (diff)
use dateFormat instead of .Date.Format
Diffstat (limited to 'layouts')
-rw-r--r--layouts/issues/single.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<p>{{ 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 }}