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/pagebundler_test.go | |
parent | 6c9ea022a9022a281031eed75ceb00c4c03f2b5a (diff) |
Fix defaultContentLanguageInSubdir with only 1 language
Fixes #10064
Diffstat (limited to 'hugolib/pagebundler_test.go')
-rw-r--r-- | hugolib/pagebundler_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/pagebundler_test.go b/hugolib/pagebundler_test.go index 51ce82526..ebf5d628b 100644 --- a/hugolib/pagebundler_test.go +++ b/hugolib/pagebundler_test.go @@ -67,6 +67,7 @@ func TestPageBundlerSiteRegular(t *testing.T) { fs, cfg := newTestBundleSources(c) cfg.Set("baseURL", baseURL) cfg.Set("canonifyURLs", canonify) + cfg.Set("defaultContentLanguageInSubdir", false) cfg.Set("permalinks", map[string]string{ "a": ":sections/:filename", |