Permalink
Browse files

hugolib: Do not reset .Page.Scratch on rebuilds

Fixes #4627
  • Loading branch information...
bep committed Apr 15, 2018
1 parent 0e7716a commit 61d52f146297950e283ae086d8b1af61099d22a0
Showing with 0 additions and 1 deletion.
  1. +0 −1 hugolib/site.go
View
@@ -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
}

0 comments on commit 61d52f1

Please sign in to comment.