diff --git a/hugolib/site.go b/hugolib/site.go index 2f47ac236..273d61901 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1604,6 +1604,7 @@ func (s *Site) resetBuildState() { p.subSections = Pages{} p.parent = nil p.scratch = newScratch() + p.mainPageOutput = nil } }