diff --git a/layouts/partials/lastmod.html b/layouts/partials/lastmod.html index ff80115..b5ad502 100644 --- a/layouts/partials/lastmod.html +++ b/layouts/partials/lastmod.html @@ -1,4 +1,6 @@ -{{ if gt .Lastmod .Date }} +{{$hourInSec := 3600}}} + +{{ if gt .Lastmod (add (time .Date).Unix $hourInSec) }} {{ with .Lastmod }} ({{ $.Site.Params.LastModDisplay }} {{ .Format ($.Site.Params.DateFormatSingle | default "2006-01-02") }})