diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index cceb0667ea3..190c88e3286 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -294,8 +294,8 @@ if (!doNotTrack) { {{- if .IsPage }}{{ $ISO8601 := "2006-01-02T15:04:05-07:00" }}{{ if not .PublishDate.IsZero }} -{{ end }} -{{ if not .Lastmod.IsZero }}{{ end }} +{{ end }} +{{ if not .Lastmod.IsZero }}{{ end }} {{ with $.Params.images }}{{ range first 6 . -}} @@ -312,7 +312,8 @@ if (!doNotTrack) { -{{- end }}`}, +{{- end }} +`}, {`shortcodes/__h_simple_assets.html`, `{{ define "__h_simple_css" }}{{/* These template definitions are global. */}} {{- if not (.Page.Scratch.Get "__h_simple_css") -}} {{/* Only include once */}} diff --git a/tpl/tplimpl/embedded/templates/schema.html b/tpl/tplimpl/embedded/templates/schema.html index 19648abef38..0cbae153d61 100644 --- a/tpl/tplimpl/embedded/templates/schema.html +++ b/tpl/tplimpl/embedded/templates/schema.html @@ -2,8 +2,8 @@ {{- if .IsPage }}{{ $ISO8601 := "2006-01-02T15:04:05-07:00" }}{{ if not .PublishDate.IsZero }} -{{ end }} -{{ if not .Lastmod.IsZero }}{{ end }} +{{ end }} +{{ if not .Lastmod.IsZero }}{{ end }} {{ with $.Params.images }}{{ range first 6 . -}} @@ -20,4 +20,4 @@ -{{- end }} \ No newline at end of file +{{- end }}