summaryrefslogtreecommitdiffstats
path: root/hugolib/content_map.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-06-15 16:33:09 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-06-15 22:23:02 +0200
commit522ba1cd98ac67482061448c3a7528e68a720f0d (patch)
tree527560bfa89b66683c1118d132c8270b42812777 /hugolib/content_map.go
parent889dc47ceba9cf5cbd6e61a9222a5e54cd562332 (diff)
Fix order of GetTerms
Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms). Fixes #7213
Diffstat (limited to 'hugolib/content_map.go')
-rw-r--r--hugolib/content_map.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/content_map.go b/hugolib/content_map.go
index ddcc70707..8af553478 100644
--- a/hugolib/content_map.go
+++ b/hugolib/content_map.go
@@ -264,6 +264,7 @@ func (b *cmInsertKeyBuilder) newTopLevel() {
}
type contentBundleViewInfo struct {
+ ordinal int
name viewName
termKey string
termOrigin string