diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-30 10:33:57 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-30 10:49:24 +0100 |
commit | 94e736c5e167a0ee70a528e1c19d64a47e7929c2 (patch) | |
tree | d135d857d77d454de45428e8aafb62b288882111 /hugolib/site.go | |
parent | 1707dae8d3634006017eb6d040df4dbafc53d92f (diff) |
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
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 8a3cde9c7..0e5f034a4 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -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 } |