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

Update this to work with latest hugo - address warnings generated #204

Open
richarddushime opened this issue Nov 18, 2024 · 4 comments
Open
Assignees

Comments

@richarddushime
Copy link
Contributor

Describe the bug
I encountered issues running the project after installing the latest Hugo versions (v0.137.0 and v0.139.0). The project fails to build, throwing errors.

To Reproduce

  1. Install the latest Hugo version (v0.137.0 or v0.139.0).
  2. Clone the project repository.
  3. Run the project using hugo server.

Expected Outcome
The project should start successfully without errors.

Actual Behavior
Errors are thrown, and the project fails to start.

Suggested Workaround
For new users experiencing this issue, consider installing Hugo v0.130.0 or below while an update to support the latest Hugo versions is being planned.

@LukasWallrich
Copy link
Contributor

In our automated deploy, we have fixed HUGO_VERSION: "0.123.3", so that won't break - but obviously it would be good to be able to update that at some point. Thanks for looking into this!

@richarddushime
Copy link
Contributor Author

maybe this should be added in the CONTRIBUTING.md ?

Copy link

This issue has been inactive for more than 90 days. If there is no further activity, it will be automatically closed in seven days time. You can reopen the issue if it is still relevant.

@github-actions github-actions bot added the stale Marked by labeler label Feb 11, 2025
@richarddushime richarddushime removed the stale Marked by labeler label Feb 11, 2025
@LukasWallrich LukasWallrich changed the title Compatibility Issues with Latest Hugo Versions (v0.137.0 and Above) Update this to work with latest hugo - address warnings generated Mar 12, 2025
@richarddushime
Copy link
Contributor Author

warnings fix

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.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.

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