{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}{{ post.title }} - r/{{ post.community }}{% endblock %} {% block search %} {% call utils::search(["/r/", post.community.as_str()].concat(), "") %} {% endblock %} {% block root %}/r/{{ post.community }}{% endblock %}{% block location %}r/{{ post.community }}{% endblock %} {% block head %} {% call super() %} {% if post.post_type == "image" %} {% else if post.post_type == "video" || post.post_type == "gif" %} {% else %} {% endif %} {% endblock %} {% block subscriptions %} {% call utils::sub_list(post.community.as_str()) %} {% endblock %} {% block content %}
{% call utils::post(post) %}

{{post.comments.0}} {% if post.comments.0 == "1" %}comment{% else %}comments{% endif %} sorted by

{% if comment_query != "" %} Comments containing "{{ comment_query }}" | All comments {% endif %}
{% for c in comments -%}
{% if single_thread %}

View all comments

{% if c.parent_kind == "t1" %}

Show parent comments

{% endif %} {% endif %} {{ c.render().unwrap()|safe }}
{%- endfor %}
{% endblock %}