From d74f235ffa18ae804533bf78650dee0c3f1dc5a9 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 2 Nov 2019 17:18:19 +0100 Subject: lets add modifies-date --- layouts/_default/single.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 37bc22c..4d07a02 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,6 +3,7 @@

{{ .Title }}

{{ .Date.Format "January 2, 2006" }} +{{ if ne (.Lastmod.Format "January 2, 2006") (.Date.Format "January 2, 2006") }}
Last modified {{ .Lastmod.Format "January 2, 2006" }}{{ end }} {{ .Content }}
-- cgit v1.2.3