list.tmpl 187 B

123456789
  1. {#- Bloody hack to avoid leading empty line... #}
  2. {%- set i = list|length %}
  3. {%- for item in list|sort -%}
  4. {{ item }}
  5. {%- set i = i-1 %}
  6. {%- if i != 0 %}
  7. {# #}
  8. {%- endif %}
  9. {%- endfor %}