Update this to work with latest hugo - address warnings generated
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
- Install the latest Hugo version (v0.137.0 or v0.139.0).
- Clone the project repository.
- 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.
For Mac building from source works well an article here for more
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!
maybe this should be added in the CONTRIBUTING.md ?
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.
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.
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.
open
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.
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.
This issue has been automatically closed due to it being stale for more than 7 days. Please feel free to reopen if you still want this issue.
🤖 Hi @richarddushime, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.