{% load static %} {% block hero %} {% for item in hero %} {% autoescape off %} {{ item.title }} {{ item.slogan }} {% endautoescape %} {{ item.btn.title }} {% endfor %} {% endblock %}