hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 55251aa89099358c040d38f3af48e3699d67bab2
parent 843fcd19d4d97bac979410a4e0abed72586a0aa0
Author: mywaiting <mywaiting@users.noreply.github.com>
Date:   Fri, 11 Jan 2019 01:24:38 +0800

Remove historical rssURI config


Diffstat:
Mhugolib/config.go | 1-
Mhugolib/hugo_sites_build_test.go | 3---
Mhugolib/site_test.go | 1-
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/hugolib/config.go b/hugolib/config.go
@@ -630,7 +630,6 @@ func loadDefaultSettingsFor(v *viper.Viper) error {
 	v.SetDefault("paginatePath", "page")
 	v.SetDefault("summaryLength", 70)
 	v.SetDefault("blackfriday", c.BlackFriday)
-	v.SetDefault("rSSUri", "index.xml")
 	v.SetDefault("rssLimit", -1)
 	v.SetDefault("sectionPagesMenu", "")
 	v.SetDefault("disablePathToLower", false)
diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go
@@ -953,7 +953,6 @@ var tocPageWithShortcodesInHeadingsExpected = `<nav id="TableOfContents">
 
 var multiSiteTOMLConfigTemplate = `
 baseURL = "http://example.com/blog"
-rssURI = "index.xml"
 
 paginate = 1
 disablePathToLower = true
@@ -1011,7 +1010,6 @@ lag = "lag"
 
 var multiSiteYAMLConfigTemplate = `
 baseURL: "http://example.com/blog"
-rssURI: "index.xml"
 
 disablePathToLower: true
 paginate: 1
@@ -1071,7 +1069,6 @@ Languages:
 var multiSiteJSONConfigTemplate = `
 {
   "baseURL": "http://example.com/blog",
-  "rssURI": "index.xml",
   "paginate": 1,
   "disablePathToLower": true,
   "defaultContentLanguage": "{{ .DefaultContentLanguage }}",
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
@@ -291,7 +291,6 @@ func doTestShouldAlwaysHaveUglyURLs(t *testing.T, uglyURLs bool) {
 
 	cfg.Set("verbose", true)
 	cfg.Set("baseURL", "http://auth/bub")
-	cfg.Set("rssURI", "index.xml")
 	cfg.Set("blackfriday",
 		map[string]interface{}{
 			"plainIDAnchors": true})