mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00: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