hugohm/layouts/partials/comma_separated_list.html

5 lines
109 B
HTML
Raw Permalink Normal View History

{{ $len := (len . ) }}
{{ range $idx, $elem := . }}
{{ . }}{{ if ne (add $idx 1) $len }},{{ end }}
{{ end }}