diff options
Diffstat (limited to 'hugolib/hugo_sites.go')
-rw-r--r-- | hugolib/hugo_sites.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 9fe2a5bdb..caa9a4bc2 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -569,7 +569,6 @@ func (cfg *BuildCfg) shouldRender(p *pageState) bool { return false } if p.forceRender { - p.forceRender = false return true } @@ -577,6 +576,10 @@ func (cfg *BuildCfg) shouldRender(p *pageState) bool { return true } + if cfg.RecentlyVisited[p.RelPermalink()] { + return true + } + if cfg.whatChanged != nil && !p.File().IsZero() { return cfg.whatChanged.files[p.File().Filename()] } |