{% load static %} {% for list_item in list_items %}
{% comment %} 'static' is used as string, as {% get_static_prefix %} includes a leading slash, which is already included in the base_url. {% endcomment %}
{% endfor %}