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:
0a79edd
)
Return errors when rendering
author
Noah Campbell
<noahcampbell@gmail.com>
Tue, 13 Aug 2013 17:44:40 +0000
(10:44 -0700)
committer
spf13
<steve.francia@gmail.com>
Sun, 18 Aug 2013 03:45:03 +0000
(23:45 -0400)
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index c0bce9f06c01a58d3b30c0c0b41ded606ea721e1..966208f92d0c31aedd4601016c0518b0b559e5c2 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-110,9
+110,13
@@
func (site *Site) Render() (err error) {
if err = site.RenderIndexes(); err != nil {
return
}
- site.RenderIndexesIndexes()
+ if err = site.RenderIndexesIndexes(); err != nil {
+ return
+ }
site.timerStep("render and write indexes")
- site.RenderLists()
+ if err = site.RenderLists(); err != nil {
+ return
+ }
site.timerStep("render and write lists")
if err = site.RenderPages(); err != nil {
return