diff --git a/layouts/partials/lastmod.html b/layouts/partials/lastmod.html
index b5ad502..a9b9693 100644
--- a/layouts/partials/lastmod.html
+++ b/layouts/partials/lastmod.html
@@ -1,4 +1,4 @@
-{{$hourInSec := 3600}}}
+{{$hourInSec := 3600}}
{{ if gt .Lastmod (add (time .Date).Unix $hourInSec) }}
{{ with .Lastmod }}