Fix taxonomy term with backing file regression

Fixes #12020
This commit is contained in:
Bjørn Erik Pedersen
2024-02-09 15:18:13 +02:00
parent f4575e5f29
commit caba6ba6e7
3 changed files with 47 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ func (h *HugoSites) newPage(m *pageMeta) (*pageState, *paths.Path, error) {
m.pageConfig.Kind = kinds.KindTaxonomy
} else {
m.pageConfig.Kind = kinds.KindTerm
m.term = m.pathInfo.Unnormalized().BaseNameNoIdentifier()
}
}
} else if m.f != nil {