diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go
index 2b36ae37b..e2d94dc8b 100644
--- a/tpl/tplimpl/embedded/templates.autogen.go
+++ b/tpl/tplimpl/embedded/templates.autogen.go
@@ -265,7 +265,7 @@ if (!doNotTrack) {
{{if .IsPage}}{{ $ISO8601 := "2006-01-02T15:04:05-07:00" }}{{ if not .PublishDate.IsZero }}
{{ end }}
-{{ if not .Date.IsZero }}{{ end }}
+{{ if not .Lastmod.IsZero }}{{ end }}
{{ with .Params.images }}{{ range first 6 . }}
diff --git a/tpl/tplimpl/embedded/templates/schema.html b/tpl/tplimpl/embedded/templates/schema.html
index bef45b167..16c97be60 100644
--- a/tpl/tplimpl/embedded/templates/schema.html
+++ b/tpl/tplimpl/embedded/templates/schema.html
@@ -4,7 +4,7 @@
{{if .IsPage}}{{ $ISO8601 := "2006-01-02T15:04:05-07:00" }}{{ if not .PublishDate.IsZero }}
{{ end }}
-{{ if not .Date.IsZero }}{{ end }}
+{{ if not .Lastmod.IsZero }}{{ end }}
{{ with .Params.images }}{{ range first 6 . }}