mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -141,7 +141,7 @@ func (p *pageState) GetTerms(taxonomy string) page.Pages {
|
||||
if p.IsHome() {
|
||||
// TODO(bep) make this less magical, see taxonomyEntries.Insert.
|
||||
self = "/" + page.KindHome
|
||||
} else {
|
||||
} else if p.treeRef != nil {
|
||||
self = p.treeRef.key
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user