mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -196,6 +196,11 @@ func (c *pagesCollector) Collect() (collectErr error) {
|
||||
|
||||
return id.p.Dir() == fim.Meta().PathInfo.Dir()
|
||||
}
|
||||
|
||||
if fim.Meta().PathInfo.IsLeafBundle() && id.p.BundleType() == paths.PathTypeContentSingle {
|
||||
return id.p.Dir() == fim.Meta().PathInfo.Dir()
|
||||
}
|
||||
|
||||
return id.p.Path() == fim.Meta().PathInfo.Path()
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user