diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-12-09 15:29:10 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-11 18:53:30 +0100 |
commit | 3fd0b78498597ceb343b7fda2e9b652f3e957478 (patch) | |
tree | 55f172409ee028378a75b2e6113c5332f5d29832 /tpl | |
parent | e0e63f35e4d98503066b2656f8577eb04708427e (diff) |
tpl/tplimpl: Use https in sitemap templates
Closes #10515
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/tplimpl/embedded/templates/_default/sitemap.xml | 4 | ||||
-rw-r--r-- | tpl/tplimpl/embedded/templates/_default/sitemapindex.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tpl/tplimpl/embedded/templates/_default/sitemap.xml b/tpl/tplimpl/embedded/templates/_default/sitemap.xml index cdb3748e8..5d9448063 100644 --- a/tpl/tplimpl/embedded/templates/_default/sitemap.xml +++ b/tpl/tplimpl/embedded/templates/_default/sitemap.xml @@ -1,6 +1,6 @@ {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" - xmlns:xhtml="http://www.w3.org/1999/xhtml"> +<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:xhtml="https://www.w3.org/1999/xhtml"> {{ range .Data.Pages }} {{- if .Permalink -}} <url> diff --git a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml index 01cf65bc5..616f47729 100644 --- a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml +++ b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml @@ -1,5 +1,5 @@ {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} -<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> +<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> {{ range . }} <sitemap> <loc>{{ .SitemapAbsURL }}</loc> |