{% if loggedInUser %}
Reply
{% endif %} {% set level = level + 1 %} {% if level <= maxPostNesting %} {% if post.children %} {% for post in Post.query.filter_by(parent=post).order_by(Post.date) %}
{% include "post.html" %}
{% endfor %} {% endif %} {% elif post.children %}
Comments hidden; click to go deeper.
{% endif %}