projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9930011
)
Return any error reported by RenderHomePage
author
Hugo Duncan
<hugo@hugoduncan.org>
Tue, 20 Aug 2013 13:40:33 +0000
(09:40 -0400)
committer
Noah Campbell
<noahcampbell@gmail.com>
Fri, 23 Aug 2013 23:55:40 +0000
(16:55 -0700)
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index ac61bffb7df59d9f041c06fb813f113a58d857f8..5c8cfe4f853d80b21532741e7ad17b8ea4b198e9 100644
(file)
--- 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
}