summaryrefslogtreecommitdiffstats
path: root/hugolib/content_map_page.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r--hugolib/content_map_page.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go
index ba0c858fe..89df951e9 100644
--- a/hugolib/content_map_page.go
+++ b/hugolib/content_map_page.go
@@ -1552,8 +1552,10 @@ func (sa *sitePagesAssembler) assembleTermsAndTranslations() error {
}
pages.InsertIntoValuesDimension(pi.Base(), n)
term = pages.Get(pi.Base())
- } else if term.(*pageState).m.term != v {
- term.(*pageState).m.term = v
+ } else {
+ m := term.(*pageState).m
+ m.term = v
+ m.singular = viewName.singular
}
if s == "" {