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 /hugolib | |
parent | e0e63f35e4d98503066b2656f8577eb04708427e (diff) |
tpl/tplimpl: Use https in sitemap templates
Closes #10515
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/minify_publisher_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/minify_publisher_test.go b/hugolib/minify_publisher_test.go index 03b46a5fe..189dc463f 100644 --- 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") } |