ref: 023567b05e1542cbdd25514f2ba7dd15a6e3a6c8
parent: 2f9b582dbe44af862e00348825c308a223d57407
author: elij <[email protected]>
date: Mon Aug 12 15:01:23 EDT 2013
fix bad tab/space due to paste
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -470,11 +470,11 @@
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)