From ddc100f5c5568e7af9d031c5e7d1de702606df21 Mon Sep 17 00:00:00 2001 From: Anaminus Date: Wed, 23 Feb 2022 01:43:08 +0000 Subject: [PATCH] Fix modification date displaying as original date (#33) When `lastmod` is specified, a post would indicate that it was updated, but it incorrectly used the original date instead of the modification date. --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e7602b7..281e064 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@ {{ if eq .Lastmod .Date }} {{ else }} - + {{ end }} {{- end -}}