summaryrefslogtreecommitdiffstats
path: root/hugolib/page__paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page__paths.go')
-rw-r--r--hugolib/page__paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__paths.go b/hugolib/page__paths.go
index 5dc42bc2a..d0bf26961 100644
--- a/hugolib/page__paths.go
+++ b/hugolib/page__paths.go
@@ -147,7 +147,7 @@ func createTargetPathDescriptor(s *Site, p page.Page, pm *pageMeta) (page.Target
// the permalink configuration values are likely to be redundant, e.g.
// naively expanding /category/:slug/ would give /category/categories/ for
// the "categories" page.KindTaxonomyTerm.
- if p.Kind() == page.KindPage || p.Kind() == page.KindTaxonomy {
+ if p.Kind() == page.KindPage || p.Kind() == page.KindTerm {
opath, err := d.ResourceSpec.Permalinks.Expand(p.Section(), p)
if err != nil {
return desc, err