From: Bjørn Erik Pedersen Date: Sun, 15 Apr 2018 17:31:42 +0000 (+0200) Subject: hugolib: Do not reset .Page.Scratch on rebuilds X-Git-Tag: v0.39~12 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=61d52f146297950e283ae086d8b1af61099d22a0;p=brevno-suite%2Fhugo hugolib: Do not reset .Page.Scratch on rebuilds Fixes #4627 --- diff --git a/hugolib/site.go b/hugolib/site.go index b0d70bff..262bf2d4 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -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 }