{% extends 'base.html' %} {% from 'comment.html' import render_comment, reply %} {% block content %} thread {% if parent_id %} parent {% endif %} {{ reply() }} {% for c in comments %} {{ render_comment(c) }} {% endfor %} {% endblock %}