Open estrados opened 2 years ago
Is there any documentation to create loop ?
How to iterate variables / create loop in ace
Loops are not a feature of ace but rather a feature of golang html/templates. You can use smth like this:
Say your data passed to the template is []string. Then:
[]string
ul {{ range $k := . }} li $k {{ end }}
Is there any documentation to create loop ?
How to iterate variables / create loop in ace