mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
@@ -806,6 +806,9 @@ func (b *pagesMapBucket) getPagesAndSections() page.Pages {
|
||||
|
||||
func (b *pagesMapBucket) getSections() page.Pages {
|
||||
b.sectionsInit.Do(func() {
|
||||
if b.owner.treeRef == nil {
|
||||
return
|
||||
}
|
||||
b.sections = b.owner.treeRef.collectSections()
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user