Variable not globally nested, variable cannot be applied with if func

It’s a Go thing: Hugo + Go 1.11 hype thread

This recent post might help: Scoping a variable outside of and if statement (or two)

For now you will have to use .Scratch Scratch | Hugo

1 Like