diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 164f3b927..58d0b2799 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -187,14 +187,15 @@ if (!doNotTrack) { {{ end }}{{ end }} +{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} {{- if .IsPage }} -{{- if not .PublishDate.IsZero }} -{{ else if not .Date.IsZero }} +{{- if not .PublishDate.IsZero }} +{{ else if not .Date.IsZero }} {{ end }} -{{- if not .Lastmod.IsZero }}{{ end }} +{{- if not .Lastmod.IsZero }}{{ end }} {{- else }} {{- if not .Date.IsZero }} - + {{- end }} {{- end }}{{/* .IsPage */}} @@ -482,7 +483,7 @@ if (!doNotTrack) { {{ $secondClass := "s_video_simple" }}