zerostaticthemes/hugo-serif-theme

Replace .Site.IsServer with hugo.IsServer

argus-core opened this issue · 4 comments

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

can you make a PR to fix the issue?

Looks like @jsmolic already created one, I didn't think to check before opening the issue: #86

Any plans to merge #86?

Merged, thank you all.