mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
parent
b2a02c3c5a
commit
15d3e48cec
2 changed files with 20 additions and 1 deletions
|
@ -254,7 +254,7 @@ func (p *pageState) RegularPagesRecursive() page.Pages {
|
|||
p.regularPagesRecursiveInit.Do(func() {
|
||||
var pages page.Pages
|
||||
switch p.Kind() {
|
||||
case kinds.KindSection:
|
||||
case kinds.KindSection, kinds.KindHome:
|
||||
pages = p.getPagesRecursive()
|
||||
default:
|
||||
pages = p.RegularPages()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue