Remove historical rssURI config

This commit is contained in:
mywaiting 2019-01-11 01:24:38 +08:00 committed by Bjørn Erik Pedersen
parent 843fcd19d4
commit 55251aa890
3 changed files with 0 additions and 5 deletions

View file

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

View file

@ -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 }}",

View file

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