From 522ba1cd98ac67482061448c3a7528e68a720f0d Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 15 Jun 2020 16:33:09 +0200 Subject: Fix order of GetTerms Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms). Fixes #7213 --- hugolib/content_map.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hugolib/content_map.go') 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 -- cgit v1.2.3