diff options
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r-- | hugolib/content_map_page.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go index 143de5351..c60536285 100644 --- a/hugolib/content_map_page.go +++ b/hugolib/content_map_page.go @@ -719,6 +719,12 @@ func (m *pageMaps) AssemblePages() error { return err } + if pm.s.home == nil { + // Home is disabled, everything is. + pm.bundleTrees.DeletePrefix("") + return nil + } + if err := pm.assembleTaxonomies(); err != nil { return err } |