mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
@@ -577,7 +577,7 @@ func (cfg *BuildCfg) shouldRender(p *pageState) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if cfg.whatChanged != nil && p.File() != nil {
|
||||
if cfg.whatChanged != nil && !p.File().IsZero() {
|
||||
return cfg.whatChanged.files[p.File().Filename()]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user