i40west / wtfhugo

🤷🏻‍♂️ Hugo debugger as an overlay on your site
https://wtfhugo.i40west.io
GNU General Public License v3.0
4 stars 2 forks source link

chore: update README for Hugo v0.120.0 #3

Closed hugo-sid closed 2 months ago

hugo-sid commented 2 months ago

Hello, Jeremy.

First, thanks a lot for maintaining this. I find it very useful in development.


PR Description:

This PR replaces .Site.IsServer with hugo.IsServer in the README. Otherwise, one is likely to encounter the following error:

ERROR: deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in Hugo v0.135.0. Please use hugo.IsServer instead.

Summary:

This update will prevent future compatibility issues as .Site.IsServer is being deprecated.

Additional note

Request you to update the same here as well: https://wtfhugo.i40west.io/ .

i40west commented 2 months ago

I forgot to update the documentation, just like a real open-source maintainer! 😂 Thanks.