{% if not included %} {% extends 'index.html' %} {% endif %} {% block content%} plot {% for d in data %} {% endfor %} {% endblock content %}