Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page.RSSLink is deprecated and will be removed in Hugo 0.93.0 #2

Closed
svetlemodry opened this issue Jan 16, 2022 · 2 comments
Closed

Comments

@svetlemodry
Copy link
Contributor

Seems like something we'd have to look into:

ERROR 2022/01/16 18:03:10 Page.RSSLink is deprecated and will be removed in Hugo 0.93.0. Use the Output Format's link, e.g. something like:
    {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
ERROR 2022/01/16 18:03:10 Page.URL is deprecated and will be removed in Hugo 0.93.0. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url

I did not have time to look into the code yet, but quick search gave me this link that seems relevant so far:

https://discourse.gohugo.io/t/page-hugo-is-deprecated-page-rsslink-is-deprecated/27037/2

https://gohugo.io/templates/rss/#the-embedded-rssxml

@EliiseS
Copy link
Owner

EliiseS commented Jan 17, 2022

@svetlemodry I can't find any page.RSSLink or Page.URL in the theme. I also don't get this error when building hugo with v0.92.0, which is the latest release right now.

@svetlemodry
Copy link
Contributor Author

Heh, yep you are right.
Looks like couple of my projects were using an old version of this template.
Sorry for the noise here! I guess this can be closed then.
Enjoy your weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants