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