diff --git a/commands/hugo.go b/commands/hugo.go index 6d4750165..f93e81982 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 497c0325a..23b838c40 100644 --- a/hugolib/rss_test.go +++ b/hugolib/rss_test.go @@ -34,6 +34,7 @@ const RSS_TEMPLATE = `