diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index c0a82bc6a..ed9ba35ac 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -175,7 +175,7 @@ if (!doNotTrack) { -{{- with .Params.images }}{{ range first 6 . }} +{{ with $.Param "images" }}{{ range first 6 . }} {{ end }}{{ end }} diff --git a/tpl/tplimpl/embedded/templates/opengraph.html b/tpl/tplimpl/embedded/templates/opengraph.html index 0cc9a213c..8e4fb8115 100644 --- a/tpl/tplimpl/embedded/templates/opengraph.html +++ b/tpl/tplimpl/embedded/templates/opengraph.html @@ -2,7 +2,7 @@ -{{- with .Params.images }}{{ range first 6 . }} +{{ with $.Param "images" }}{{ range first 6 . }} {{ end }}{{ end }}