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

fix .Site.RSSLink was deprecated in Hugo v0.114.0 #435

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

junxxx
Copy link

@junxxx junxxx commented Jun 15, 2024

Fix error when runing this theme in hugo, which verion is v0.127.0

hugo v0.127.0+extended darwin/arm64 BuildDate=2024-06-05T10:27:59Z VendorInfo=brew

ERROR deprecated: .Site.RSSLink was deprecated in Hugo v0.114.0 and will be removed in Hugo 0.128.0. Use the Output Format's Permalink method instead, e.g. .OutputFormats.Get "RSS".Permalink
WARN deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.GoogleAnalytics.ID instead.
WARN deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.Disqus.Shortname instead.
WARN The author key in site configuration is deprecated. Use params.author.name instead.
Built in 53 ms
Error: error building site: logged 1 error(s)

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

Successfully merging this pull request may close these issues.

1 participant