resources/page: Fix .RSSLinke deprecation message

Closes #4427
This commit is contained in:
Bjørn Erik Pedersen
2019-04-09 16:47:29 +02:00
parent 27a8049da7
commit 3b86b4a9f5
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ func (p *pageDeprecated) BaseFileName() string {
return p.p.BaseFileName()
}
func (p *pageDeprecated) RSSLink() template.URL {
helpers.Deprecated("Page", ".RSSLink", "Use the Output Format's link, e.g. something like: \n {{ with .OutputFormats.Get \"RSS\" }}{{ . RelPermalink }}{{ end }}", false)
helpers.Deprecated("Page", ".RSSLink", "Use the Output Format's link, e.g. something like: \n {{ with .OutputFormats.Get \"RSS\" }}{{ .RelPermalink }}{{ end }}", false)
return p.p.RSSLink()
}
func (p *pageDeprecated) TranslationBaseName() string {