Revert "Return errors when rendering"
authorNoah Campbell <noahcampbell@gmail.com>
Sat, 31 Aug 2013 03:06:18 +0000 (20:06 -0700)
committerNoah Campbell <noahcampbell@gmail.com>
Sat, 31 Aug 2013 03:08:13 +0000 (20:08 -0700)
This reverts commit e66ba5d2a7dd1a043a24bf86a271a5440b7b1385.

Fixed #69

hugolib/site.go

index af72fd3bf57714726b2f7f61f08f7eb6a53892da..320e2516b963aa05cec0ec2b12832b7064691cf6 100644 (file)
@@ -107,13 +107,9 @@ func (site *Site) Render() (err error) {
        if err = site.RenderIndexes(); err != nil {
                return
        }
-       if err = site.RenderIndexesIndexes(); err != nil {
-               return
-       }
+       site.RenderIndexesIndexes()
        site.timerStep("render and write indexes")
-       if err = site.RenderLists(); err != nil {
-               return
-       }
+       site.RenderLists()
        site.timerStep("render and write lists")
        if err = site.RenderPages(); err != nil {
                return