mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
ea96e1dc55
commit
03e2d7462d
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ func (b *pagesMapBucket) getPages() page.Pages {
|
||||||
func (b *pagesMapBucket) getPagesAndSections() page.Pages {
|
func (b *pagesMapBucket) getPagesAndSections() page.Pages {
|
||||||
b.pagesAndSectionsInit.Do(func() {
|
b.pagesAndSectionsInit.Do(func() {
|
||||||
var pas page.Pages
|
var pas page.Pages
|
||||||
pas = append(pas, b.pages...)
|
pas = append(pas, b.getPages()...)
|
||||||
for _, p := range b.bucketSections {
|
for _, p := range b.bucketSections {
|
||||||
pas = append(pas, p.owner)
|
pas = append(pas, p.owner)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue