mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user