diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 445be9c278..f2bde74493 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -1,5 +1,5 @@ {{- printf "" | safeHTML }} -{{- partial "page-meta.go" . }} +{{- partial "page-meta.hugo" . }} {{- $pages := .Page.Pages }} {{- if .Page.IsHome }} {{- $pages = .Page.Sections }} diff --git a/layouts/_default/sitemap.xml b/layouts/_default/sitemap.xml index 7ac5f64c4c..86c52db036 100644 --- a/layouts/_default/sitemap.xml +++ b/layouts/_default/sitemap.xml @@ -1,5 +1,5 @@ {{ printf "" | safeHTML }} -{{- partial "page-meta.go" . }} +{{- partial "page-meta.hugo" . }} {{- range .Data.Pages }} {{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) }} diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index e2ed678258..1d1cd80904 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -6,7 +6,7 @@ {{- $ver := partial "version.html" }} {{- $ver = replaceRE "\\s*(\\S*)" "${1}" $ver }} - {{- partial "page-meta.go" . }} + {{- partial "page-meta.hugo" . }} {{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }} {{- end }} diff --git a/layouts/partials/page-meta.go b/layouts/partials/page-meta.hugo similarity index 100% rename from layouts/partials/page-meta.go rename to layouts/partials/page-meta.hugo