Replace .Site.IsServer with hugo.IsServer
argus-core opened this issue · 4 comments
argus-core commented
Deploying with a newer version of Hugo (e.g. v0.132.2+extended currently used in the GitLab Hugo template) fails with the following error:
ERROR deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.133.0. Use hugo.IsServer instead.
The following files require updating:
layouts/404.html
layouts/partials/google-analytics.html
layouts/partials/google-tag-manager.html
layouts/partials/google-tag-manager-noscript.html
JugglerX commented
can you make a PR to fix the issue?
argus-core commented
JugglerX commented
Merged, thank you all.