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

@@ -149,7 +149,7 @@ func generateDeprecatedWrappers(c *codegen.Inspector) error {
"LanguagePrefix": "Use .Site.LanguagePrefix.",
"GetParam": "Use .Param or .Params.myParam.",
"RSSLink": `Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ . RelPermalink }}{{ end }}`,
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}`,
"URL": "Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url",
}