From: Dana H. P'Simer Date: Fri, 24 Apr 2015 18:25:09 +0000 (-0400) Subject: Add RSSUri to specify the name of the RSS file X-Git-Tag: v0.14~77 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd08e16ec8abb923a1ffe23a60b2aa8316151559;p=brevno-suite%2Fhugo Add RSSUri to specify the name of the RSS file --- diff --git a/commands/hugo.go b/commands/hugo.go index 6d475016..f93e8198 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -152,6 +152,7 @@ func InitializeConfig() { viper.SetDefault("Paginate", 10) viper.SetDefault("PaginatePath", "page") viper.SetDefault("Blackfriday", helpers.NewBlackfriday()) + viper.SetDefault("RSSUri", "index.xml") if hugoCmdV.PersistentFlags().Lookup("buildDrafts").Changed { viper.Set("BuildDrafts", Draft) diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go index 497c0325..23b838c4 100644 --- a/hugolib/rss_test.go +++ b/hugolib/rss_test.go @@ -34,6 +34,7 @@ const RSS_TEMPLATE = `