URI: 
       Merge pull request #32 from cactus/issue-32 - 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 c689d46aa19f0372d909e87a1ecd187443f2b6c7
   DIR parent cb39f052d19dfbf1463b028e5173fc53d917cac1
  HTML Author: Steve Francia <steve.francia@gmail.com>
       Date:   Mon, 12 Aug 2013 19:42:44 -0700
       
       Merge pull request #32 from cactus/issue-32
       
       indexes rss.xml has wrong permalinks with ugly urls off
       Diffstat:
         M hugolib/site.go                     |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/hugolib/site.go b/hugolib/site.go
       @@ -470,7 +470,11 @@ func (s *Site) RenderLists() error {
        
                        if a := s.Tmpl.Lookup("rss.xml"); a != nil {
                                // XML Feed
       -                        n.Url = Urlize(section + ".xml")
       +                        if s.Config.UglyUrls {
       +                                n.Url = Urlize(section + ".xml")
       +                        } else {
       +                                n.Url = Urlize(section + "/" + "index.xml")
       +                        }
                                n.Permalink = template.HTML(string(n.Site.BaseUrl) + n.Url)
                                y := s.NewXMLBuffer()
                                s.Tmpl.ExecuteTemplate(y, "rss.xml", n)