I defined this block using go HTML templates:
{{define "button"}}<button> . </button>{{end}}
I would like to use this block as a nested block and I would like to pass arguments to it.
Is it possible to pass elements from iteration to the above block?
{{range $val := .}}
{{template "button" . /* <!╌ I would like to pass $val here ╌> */}}
{{end}}
</body>```