diff options
author | Anthony Fok <foka@debian.org> | 2015-12-01 21:00:59 -0700 |
---|---|---|
committer | Anthony Fok <foka@debian.org> | 2015-12-01 21:01:19 -0700 |
commit | f8302768c794678855c1642007c73b01ed47fe44 (patch) | |
tree | 5b7c00d32f26bb22aed12479586f00207972afb5 /hugolib | |
parent | afbc18c09a85a96405ca5be9040124f9146b4319 (diff) |
Run `go fmt hugolib/site.go`
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/site.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index d7c9e4a56..163ed183b 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1127,8 +1127,8 @@ func taxonomyRenderer(s *Site, taxes <-chan taxRenderInfo, results chan<- error, if !viper.GetBool("DisableRSS") { // XML Feed - rssuri := viper.GetString("RSSUri") - n.URL = s.permalinkStr(base + "/" + rssuri ) + rssuri := viper.GetString("RSSUri") + n.URL = s.permalinkStr(base + "/" + rssuri) n.Permalink = s.permalink(base) rssLayouts := []string{"taxonomy/" + t.singular + ".rss.xml", "_default/rss.xml", "rss.xml", "_internal/_default/rss.xml"} @@ -1234,7 +1234,7 @@ func (s *Site) RenderSectionLists() error { if !viper.GetBool("DisableRSS") && section != "" { // XML Feed - rssuri := viper.GetString("RSSUri") + rssuri := viper.GetString("RSSUri") n.URL = s.permalinkStr(section + "/" + rssuri) n.Permalink = s.permalink(section) rssLayouts := []string{"section/" + section + ".rss.xml", "_default/rss.xml", "rss.xml", "_internal/_default/rss.xml"} |