mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -442,7 +442,7 @@ func (b *pagesMapBucket) getPages() page.Pages {
|
||||
func (b *pagesMapBucket) getPagesAndSections() page.Pages {
|
||||
b.pagesAndSectionsInit.Do(func() {
|
||||
var pas page.Pages
|
||||
pas = append(pas, b.pages...)
|
||||
pas = append(pas, b.getPages()...)
|
||||
for _, p := range b.bucketSections {
|
||||
pas = append(pas, p.owner)
|
||||
}
|
||||
|
Reference in New Issue
Block a user