fix bad tab/space due to paste
This commit is contained in:
parent
2f9b582dbe
commit
023567b05e
1 changed files with 5 additions and 5 deletions
|
@ -470,11 +470,11 @@ func (s *Site) RenderLists() error {
|
||||||
|
|
||||||
if a := s.Tmpl.Lookup("rss.xml"); a != nil {
|
if a := s.Tmpl.Lookup("rss.xml"); a != nil {
|
||||||
// XML Feed
|
// XML Feed
|
||||||
if s.Config.UglyUrls {
|
if s.Config.UglyUrls {
|
||||||
n.Url = Urlize(section + ".xml")
|
n.Url = Urlize(section + ".xml")
|
||||||
} else {
|
} else {
|
||||||
n.Url = Urlize(section + "/" + "index.xml")
|
n.Url = Urlize(section + "/" + "index.xml")
|
||||||
}
|
}
|
||||||
n.Permalink = template.HTML(string(n.Site.BaseUrl) + n.Url)
|
n.Permalink = template.HTML(string(n.Site.BaseUrl) + n.Url)
|
||||||
y := s.NewXMLBuffer()
|
y := s.NewXMLBuffer()
|
||||||
s.Tmpl.ExecuteTemplate(y, "rss.xml", n)
|
s.Tmpl.ExecuteTemplate(y, "rss.xml", n)
|
||||||
|
|
Loading…
Add table
Reference in a new issue