#todayilearned

by @jm3 · aka John Manoogian3

Frequent, bite-size mini-milestone updates as I fast-forward merge* my front-end web development skills up to 2019 levels. Learn more

Scratch variables in Hugo templates

Posted at — Jun 28, 2019

Do to Hugo / Go variable scoping (not sure which), saving and recalling a variable defined in a Go template doesn’t work. The “Scratch” variable in Hugo helps you circumvent that.

Learm more about the Scratch variable.