zerostaticthemes / hugo-hero-theme

A multi-page Hugo theme with fullscreen hero images and fullwidth sections.
https://hugo-hero.netlify.app
MIT License
361 stars 252 forks source link

.Site.IsServer depreciated Error #72

Closed kennyparsons closed 2 months ago

kennyparsons commented 2 months ago

Error when following quick start:

❯ hugo server
Watching for changes in /redacted/mysite/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /redacted/mysite/config.toml
Start building sites …
hugo v0.134.1+extended darwin/arm64 BuildDate=2024-09-05T10:17:50Z VendorInfo=brew

ERROR deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.135.0. Use hugo.IsServer instead.
Built in 373 ms
Error: error building site: logged 1 error(s)

Debugging info: OS: macOS 14

❯ hugo version
hugo v0.134.1+extended darwin/arm64 BuildDate=2024-09-05T10:17:50Z VendorInfo=brew
gzurowski commented 2 months ago

https://github.com/zerostaticthemes/hugo-hero-theme/pull/71 should address this issue.

@JugglerX any chance to get this merged?