mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
1 parent
ea96e1dc55
commit
03e2d7462d
1 file changed
+1
-1
@@ -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