{% extends "base.html" %} {% block title %}{{ post.title }} - r/{{ post.community }}{% endblock %} {% block head %} {% call super() %} {% endblock %} {% macro comment(item) -%}

{{ item.score }}

u/{{ item.author }} {% if item.flair.0 != "" %} {{ item.flair.0 }} {% endif %} • {{ item.time }}

{{ item.body }}

{%- endmacro %} {% block content %}

{{ post.score }}

r/{{ post.community }} {% if post.author_flair.0 != "" %} {{ post.author_flair.0 }} {% endif %} {{ post.time }}

{{ post.title }} {% if post.flair.0 != "" %} {{ post.flair.0 }} {% endif %} {% if post.post_type == "image" %} {% else if post.post_type == "video" %}
{% for c in comments -%}
{% call comment(c) %}
{% for reply1 in c.replies %} {% call comment(reply1) %}
{% for reply2 in reply1.replies %} {% call comment(reply2) %}
{% for reply3 in reply2.replies %} {% call comment(reply3) %} {% if reply3.replies.len() > 0 %} → More replies {% endif %}
{% endfor %} {% endfor %} {% endfor %} {%- endfor %} {% endblock %}