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

Upgraded deprecated features for Hugo 0.127.0 #478

Closed
wants to merge 2 commits into from

Conversation

santacodes
Copy link

@santacodes santacodes commented Jul 28, 2024

I updated the following deprecated features and bugs that I found using this template.

ERROR deprecated: config: languages.en.keywords: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.130.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
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.

Fixes #476 and #457

@mcaserta
Copy link

I'm having an issue deploying my site to github because I'm afraid the latest version of hugo has moved the ".Site.GoogleAnalytics was deprecated" from a warning to an error.

I would rather not have to fork the theme and have this issue merged.

Thank you!

@imrayyu
Copy link

imrayyu commented Aug 30, 2024

Still encountering this issue. Tried to edit themes\hello-friend-ng\layouts\partials\head.html file and replaced by .Site.Config.Services.GoogleAnalytics. This issue can be solved by this editing.

@rhazdon
Copy link
Owner

rhazdon commented Oct 17, 2024

Thank you very much! :) Everything is in right now. :)

@rhazdon rhazdon closed this Oct 17, 2024
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.

Using Depreciated feature: Custom Params on the language top level
4 participants