URI: 
       tpl/tplimpl: Use https in sitemap templates - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 3fd0b78498597ceb343b7fda2e9b652f3e957478
   DIR parent e0e63f35e4d98503066b2656f8577eb04708427e
  HTML Author: Joe Mooring <joe.mooring@veriphor.com>
       Date:   Fri,  9 Dec 2022 15:29:10 -0800
       
       tpl/tplimpl: Use https in sitemap templates
       
       Closes #10515
       
       Diffstat:
         M hugolib/minify_publisher_test.go    |       2 +-
         M tpl/tplimpl/embedded/templates/_de… |       4 ++--
         M tpl/tplimpl/embedded/templates/_de… |       2 +-
       
       3 files changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/hugolib/minify_publisher_test.go b/hugolib/minify_publisher_test.go
       @@ -59,5 +59,5 @@ func TestMinifyPublisher(t *testing.T) {
                b.AssertFileContent("public/index.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><rss version=\"2.0\" xmlns:atom=\"http://www.w3.org/2005/Atom\"><channel><title/><link>https://example.org/</link>")
        
                // Sitemap
       -        b.AssertFileContent("public/sitemap.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"><url><loc>h")
       +        b.AssertFileContent("public/sitemap.xml", "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><urlset xmlns=\"https://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"https://www.w3.org/1999/xhtml\"><url><loc>h")
        }
   DIR diff --git 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>
   DIR diff --git 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>