mirror of
https://github.com/Luzifer/mondash.git
synced 2024-11-10 08:30:02 +00:00
9 lines
432 B
Smarty
9 lines
432 B
Smarty
|
{% for comment in complex.comments %}[{{ forloop.Counter }} {{ forloop.Counter0 }} {{ forloop.First }} {{ forloop.Last }} {{ forloop.Revcounter }} {{ forloop.Revcounter0 }}] {{ comment.Author.Name }}
|
||
|
|
||
|
{# nested loop #}
|
||
|
{% for char in comment.Text %}{{forloop.Parentloop.Counter0}}.{{forloop.Counter0}}:{{ char|safe }} {% endfor %}
|
||
|
|
||
|
{% endfor %}
|
||
|
|
||
|
reversed
|
||
|
'{% for item in simple.multiple_item_list reversed %}{{ item }} {% endfor %}'
|