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

Compilation fails due deprecations #13

Closed
elhossary opened this issue Sep 10, 2024 · 4 comments
Closed

Compilation fails due deprecations #13

elhossary opened this issue Sep 10, 2024 · 4 comments

Comments

@elhossary
Copy link

When compiling this template directly after cloning, it gives the following deprecation error:


WARN  deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead.
Start building sites … 
hugo v0.134.1+extended linux/amd64 BuildDate=unknown

ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.135.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.



I cannot find this configuration, and It would be great to be fixed directly in the repo

@dlehmenk
Copy link
Collaborator

Currently the parent theme relies on a hugo version <=v0.121.1, there everything should work! but we will have a look at it regardless to be ready for future theme updates, thanks for bringing it up

@elhossary
Copy link
Author

OK, I could find the cause. it is because of the Blox theme. They already fixed that 4 days ago, but still no module release that can be pulled from github during the build.
See:
HugoBlox/hugo-blox-builder#3139
HugoBlox/hugo-blox-builder#3137

@dlehmenk
Copy link
Collaborator

yeah, we've also to wait for HugoBlox/hugo-blox-builder#3135 before we can switch to a newer version, but as soon as these things are fixed will update

@dlehmenk
Copy link
Collaborator

close for now as we can't do something about this ourself now

@dlehmenk dlehmenk closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 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

No branches or pull requests

2 participants