mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Return any error reported by RenderHomePage
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
This commit is contained in:
parent
9930011ea2
commit
1de1992664
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ func (site *Site) Render() (err error) {
|
|||
return
|
||||
}
|
||||
site.timerStep("render pages")
|
||||
site.RenderHomePage()
|
||||
if err = site.RenderHomePage(); err != nil {
|
||||
return
|
||||
}
|
||||
site.timerStep("render and write homepage")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue