projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf5f10f
)
hugolib: Reset Page's main output on server rebuilds
author
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Tue, 5 Jun 2018 07:32:08 +0000
(10:32 +0300)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Tue, 5 Jun 2018 07:45:24 +0000
(10:45 +0300)
Not doing so prevents the paginators to be rebuilt on changes.
Fixes #4819
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index 2f47ac23615a1585982577ae0b545d8c9f255f27..273d61901e8eba65ea1a3be1eff56cc722f685c2 100644
(file)
--- 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
}
}