diff options
author | mywaiting <mywaiting@users.noreply.github.com> | 2019-01-11 01:24:38 +0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-01-10 18:24:38 +0100 |
commit | 55251aa89099358c040d38f3af48e3699d67bab2 (patch) | |
tree | b97fd3c32f726d8718ae8bcf712e14a721daa66d | |
parent | 843fcd19d4d97bac979410a4e0abed72586a0aa0 (diff) |
Remove historical rssURI config
-rw-r--r-- | hugolib/config.go | 1 | ||||
-rw-r--r-- | hugolib/hugo_sites_build_test.go | 3 | ||||
-rw-r--r-- | hugolib/site_test.go | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/hugolib/config.go b/hugolib/config.go index f71881e25..504043d79 100644 --- 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 index f772ce192..83b96b7f4 100644 --- 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 index 4f8d43122..bf46c313a 100644 --- 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}) |