archie icon indicating copy to clipboard operation
archie copied to clipboard

`hugo.IsServer` error

Open mansoorbarri opened this issue 1 year ago • 0 comments

I just started using this theme and on the first setup I got this error: image

I had this error on one of my themes as well, it was fixed by replacing {{ if not hugo.IsServer }} with {{ if not (getenv "HUGO_ENV" | eq "development") }} in footer.html.

error occurred using:

  • hugo version: v0.111.3+extended
  • browser: zen (firefox based)
  • system: debian linux

mansoorbarri avatar Dec 29 '24 03:12 mansoorbarri