From: elij Date: Tue, 13 Aug 2013 02:01:23 +0000 (-0700) Subject: fix bad tab/space due to paste X-Git-Tag: v0.9~167^2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=023567b05e1542cbdd25514f2ba7dd15a6e3a6c8;p=brevno-suite%2Fhugo fix bad tab/space due to paste --- diff --git a/hugolib/site.go b/hugolib/site.go index 08a0e54b..6e2a933c 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -470,11 +470,11 @@ func (s *Site) RenderLists() error { if a := s.Tmpl.Lookup("rss.xml"); a != nil { // XML Feed - if s.Config.UglyUrls { - n.Url = Urlize(section + ".xml") - } else { - n.Url = Urlize(section + "/" + "index.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)