hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 61d52f146297950e283ae086d8b1af61099d22a0
parent 0e7716a42450401c7998aa81ad2ed98c8ab109e8
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun, 15 Apr 2018 19:31:42 +0200

hugolib: Do not reset .Page.Scratch on rebuilds

Fixes #4627

Diffstat:
Mhugolib/site.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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
 	}