mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
hugolib: Extract the Fast Render Mode logic into a method
This also improves on the previous commit as it takes pages without content files into account. Closes #4339
This commit is contained in:
@@ -941,7 +941,7 @@ func (s *Site) render(config *BuildCfg, outFormatIdx int) (err error) {
|
||||
|
||||
}
|
||||
|
||||
if err = s.renderPages(config.RecentlyVisited, config.whatChanged.files); err != nil {
|
||||
if err = s.renderPages(config); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user