mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -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
|
return
|
||||||
}
|
}
|
||||||
site.timerStep("render pages")
|
site.timerStep("render pages")
|
||||||
site.RenderHomePage()
|
if err = site.RenderHomePage(); err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
site.timerStep("render and write homepage")
|
site.timerStep("render and write homepage")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue