Run `go fmt hugolib/site.go`
authorAnthony Fok <foka@debian.org>
Wed, 2 Dec 2015 04:00:59 +0000 (21:00 -0700)
committerAnthony Fok <foka@debian.org>
Wed, 2 Dec 2015 04:01:19 +0000 (21:01 -0700)
hugolib/site.go

index d7c9e4a568b6304c68d02035fdbfd583ffc2b626..163ed183bbef586292f2600118dfcd1a8313e59f 100644 (file)
@@ -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"}