diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-07 18:41:10 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-08 16:08:46 +0200 |
commit | 92e86702eab5d68cd4eda87069fba906139f5c08 (patch) | |
tree | 6edb31f509cb321b3ab9d038bfd6d50ea07f6fac /hugolib/sitemap_test.go | |
parent | 6c9ea022a9022a281031eed75ceb00c4c03f2b5a (diff) |
Fix defaultContentLanguageInSubdir with only 1 language
Fixes #10064
Diffstat (limited to 'hugolib/sitemap_test.go')
-rw-r--r-- | hugolib/sitemap_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index 984943c6f..aae874d50 100644 --- a/hugolib/sitemap_test.go +++ b/hugolib/sitemap_test.go @@ -46,6 +46,7 @@ func doTestSitemapOutput(t *testing.T, internal bool) { c := qt.New(t) cfg, fs := newTestCfg() cfg.Set("baseURL", "http://auth/bub/") + cfg.Set("defaultContentLanguageInSubdir", false) configs, err := loadTestConfigFromProvider(cfg) c.Assert(err, qt.IsNil) writeSource(t, fs, "layouts/sitemap.xml", sitemapTemplate) |