Return any error reported by RenderHomePage

This commit is contained in:
Hugo Duncan 2013-08-20 09:40:33 -04:00
parent eff8457ac9
commit 133ba7c56c

View file

@ -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
}