URI: 
       Fixing bug where RSS for site was rendered in wrong location - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 7468292c4e16d6fa621eb90a22655a5d038f95a6
   DIR parent d829e05036ab7657974095d9a7af4ccc36b53e00
  HTML Author: spf13 <steve.francia@gmail.com>
       Date:   Mon,  7 Oct 2013 09:23:42 -0400
       
       Fixing bug where RSS for site was rendered in wrong location
       
       Diffstat:
         M hugolib/site.go                     |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/hugolib/site.go b/hugolib/site.go
       @@ -524,8 +524,10 @@ func (s *Site) RenderHomePage() error {
                        n.Permalink = permalink(s, "index.xml")
                        y := s.NewXMLBuffer()
                        s.Tmpl.ExecuteTemplate(y, "rss.xml", n)
       -                err = s.WritePublic("index.xml", y)
       -                return err
       +                err = s.WritePublic(".xml", y)
       +                if err != nil {
       +                        return err
       +                }
                }
        
                if a := s.Tmpl.Lookup("404.html"); a != nil {