Closed VioletHynes closed 2 weeks ago
@nonowazu Thanks for the feedback! I updated the min version (I set min version to 0.120.0
, which is accurate) and the version in the PR creation GitHub workflow. I set the GitHub workflow action to 0.134.2
(the latest version, released a week ago) but I'm happy to adjust to something else if that's too cutting edge.
Nah, I'm fine with those version changes - in theory, the theme is disconnected from production in terms of how the github workflow is run so testing against latest is a good idea.
It seems like
.Site.IsServer
was deprecated in Hugo0.120
, and as a result you're unable to build with modern versions. Changing tohugo.IsServer
seems to work great. This was the only change I needed to make to get it to work locally.Before:
After: