mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
@@ -1397,7 +1397,7 @@ func (sa *sitePagesAssembler) applyAggregates() error {
|
||||
pw.WalkContext.Data().Insert(keyPage, cascade)
|
||||
}
|
||||
} else {
|
||||
_, data := pw.WalkContext.Data().LongestPrefix(keyPage)
|
||||
_, data := pw.WalkContext.Data().LongestPrefix(paths.Dir(keyPage))
|
||||
if data != nil {
|
||||
cascade = data.(*maps.Ordered[page.PageMatcher, maps.Params])
|
||||
}
|
||||
|
Reference in New Issue
Block a user