{{ thread["title"] }}

{% if thread["thread_type"] == "discussion" %} discussion {% else %} question {% endif %} posted at {{ thread["created_at"] | remove_newline }} by {{ thread["username"] }}{% if thread["user_id"] in staff_user %} (Staff) {% endif %}

{{ thread["body"] }}

{% if thread["children"] | length != 0 %}
    {% for comment in thread["children"] %}
  1. {{ comment["username"] }} {% if thread["user_id"] in staff_user %} (Staff) {% endif %}

    {{ comment["created_at"] | remove_newline }}

    {{ comment["body"] }}
    {% if comment["children"] %}
      {% for comment_of_comment in comment["children"] %}
    1. {{ comment_of_comment["body"] }}

      Posted {{ comment_of_comment["created_at"] | remove_newline }} by {{ comment_of_comment["username"] }}

    2. {% endfor %}
    {% endif %}
  2. {% endfor %}
{% endif %}