Files
qgreper/templates/thread.html
David Hoppenbrouwers d72fd14c92 Basics to view threads
2022-10-07 13:23:19 +02:00

20 lines
396 B
HTML

{% extends 'base.html' %}
{% macro render_comment(comment) %}
<div style="margin-left:20px">
<p><i>{{ comment.author }}</i></p>
<p>{{ comment.text }}</p>
{% for c in comment.children %}
{{ render_comment(c) }}
{% endfor %}
</div>
{% endmacro %}
{% block content %}
<p>{{ author }} - rjgoire</p>
<p>{{ text }}</p>
{% for c in comments %}
{{ render_comment(c) }}
{% endfor %}
{% endblock %}