hugolib: Do not reset .Page.Scratch on rebuilds

Fixes #4627
This commit is contained in:
Bjørn Erik Pedersen 2018-04-15 19:31:42 +02:00
parent 0e7716a424
commit 61d52f1462
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -1583,7 +1583,6 @@ func (s *Site) resetBuildState() {
s.expiredCount = 0
for _, p := range s.rawAllPages {
p.scratch = newScratch()
p.subSections = Pages{}
p.parent = nil
}