From 1de19926640ffc2baa43a9691b5d277a7f22cf49 Mon Sep 17 00:00:00 2001 From: Hugo Duncan Date: Tue, 20 Aug 2013 09:40:33 -0400 Subject: [PATCH] Return any error reported by RenderHomePage Signed-off-by: Noah Campbell --- hugolib/site.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hugolib/site.go b/hugolib/site.go index ac61bffb..5c8cfe4f 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -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 } -- 2.30.2