From: Bjørn Erik Pedersen Date: Thu, 18 Feb 2021 17:17:43 +0000 (+0100) Subject: tpl: Make the build green again X-Git-Tag: v0.81.0~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe77f7434bc0d7a9b54af69014eb28dbea2b236b;p=brevno-suite%2Fhugo tpl: Make the build green again --- diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 21b035ed..99adf292 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -212,8 +212,8 @@ if (!doNotTrack) { {{- if .IsPage }} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end }} -{{ with .Lastmod }}{{ end }} +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} {{- range .Site.Authors }} {{ with .Social.facebook }}{{ end }} @@ -295,8 +295,8 @@ if (!doNotTrack) { {{- if .IsPage -}} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end}} -{{ with .Lastmod }}{{ end}} +{{ with .PublishDate }}{{ end}} +{{ with .Lastmod }}{{ end}} {{- with $.Params.images -}} diff --git a/tpl/tplimpl/embedded/templates/opengraph.html b/tpl/tplimpl/embedded/templates/opengraph.html index 199b9b58..5d4e78d7 100644 --- a/tpl/tplimpl/embedded/templates/opengraph.html +++ b/tpl/tplimpl/embedded/templates/opengraph.html @@ -19,8 +19,8 @@ {{- if .IsPage }} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end }} -{{ with .Lastmod }}{{ end }} +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} {{- range .Site.Authors }} {{ with .Social.facebook }}{{ end }} diff --git a/tpl/tplimpl/embedded/templates/schema.html b/tpl/tplimpl/embedded/templates/schema.html index 6edef5fc..772c6c2b 100644 --- a/tpl/tplimpl/embedded/templates/schema.html +++ b/tpl/tplimpl/embedded/templates/schema.html @@ -3,8 +3,8 @@ {{- if .IsPage -}} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end}} -{{ with .Lastmod }}{{ end}} +{{ with .PublishDate }}{{ end}} +{{ with .Lastmod }}{{ end}} {{- with $.Params.images -}}