{% extends "base" %} {% block head %} {{super()}} {% endblock head %} {% block main %} {% for image in images %} {% endfor %} {% endblock main %}