diff --git a/hugolib/site.go b/hugolib/site.go index dd6e96c2a..79915a1ce 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1532,6 +1532,8 @@ func (s *Site) assembleTaxonomies() { func (s *Site) resetBuildState() { s.PageCollections = newPageCollectionsFromPages(s.rawAllPages) + // TODO(bep) get rid of this double + s.Info.PageCollections = s.PageCollections s.Info.paginationPageCount = 0 s.draftCount = 0