[Solved] Error using delimit with a Scratch array

To be honest, I’m a bit unclear (I’m still very slow at parsing Go syntax in my head), but this was an example from another entry on this board, and it solved the problem I was having. I think I took it to as “I need two arguments here, and it will be harmless to use current context for both of them”

The repository is public. Please pardon the mess. I’m porting my templates from a previous system, so the files are full of old commented-out code. It’s very, very hacky right now

Here’s the line with delimit commented out. Running it with this uncommented throws the error for me.

I tried using {{ .Scratch.Add "names" (slice .) }} to no avail, but I’ll play around with it and see if I can get that to work.