Add RSSUri to specify the name of the RSS file

This commit is contained in:
Dana H. P'Simer
2015-04-24 14:25:09 -04:00
committed by bep
parent beccdc04f3
commit fd08e16ec8
3 changed files with 4 additions and 2 deletions

View File

@@ -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)