Templates: multiple parameters?

Don’t worry, I learned it only 36 hours ago, and I can’t even remember where I got that information. Let me go search… (Searched for like 5 minutes…) Ah! There it is!

The posted answer suggesting the use of {{$.Name}} points to the Go text/template documentation under Variables:

When execution begins, $ is set to the data argument passed to Execute, that is, to the starting value of dot.

but, without an example, and without an explanation on how it is used, it is totally not obvious to me and I would have totally missed it or just plain don’t get it. :-p

Note to self: Add it to the Hugo docs. :slight_smile: