summaryrefslogtreecommitdiffstats
path: root/hugolib/content_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/content_map.go')
-rw-r--r--hugolib/content_map.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/content_map.go b/hugolib/content_map.go
index 8af553478..43ad7745d 100644
--- a/hugolib/content_map.go
+++ b/hugolib/content_map.go
@@ -274,13 +274,13 @@ type contentBundleViewInfo struct {
func (c *contentBundleViewInfo) kind() string {
if c.termKey != "" {
- return page.KindTaxonomy
+ return page.KindTerm
}
- return page.KindTaxonomyTerm
+ return page.KindTaxonomy
}
func (c *contentBundleViewInfo) sections() []string {
- if c.kind() == page.KindTaxonomyTerm {
+ if c.kind() == page.KindTaxonomy {
return []string{c.name.plural}
}