before

<ul>
{% for iterator in fruit_list %}
<li>{{ forloop.counter }}. {{ iterator }}</li>
{% endfor %}
</ul>

after