{% for item in items %} {% include "directory_components/details_item.html" with item=item %} {% endfor %}