learnlytics-go/templ/examples/syntax-and-usage/components/templsyntax.templ

10 lines
114 B
Plaintext
Raw Normal View History

2025-03-20 12:35:13 +01:00
package main
templ list(items []string) {
<ol>
for _, item := range items {
<li>{ item }</li>
}
</ol>
}