mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Return any error reported by RenderHomePage
This commit is contained in:
parent
eff8457ac9
commit
133ba7c56c
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,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