diff --git a/hugolib/site.go b/hugolib/site.go index 2a55e4330..989238bed 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1587,6 +1587,7 @@ func (s *Site) resetBuildState() { for _, p := range s.rawAllPages { p.subSections = Pages{} p.parent = nil + p.scratch = newScratch() } }