{% 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() %} {% endblock %} {% block subscriptions %} {% call utils::sub_list(post.community.as_str()) %} {% endblock %} {% block content %}

r/{{ post.community }} {% if post.author.flair.flair_parts.len() > 0 %} {% call utils::render_flair(post.author.flair.flair_parts) %} {% endif %} {{ post.rel_time }}

{{ post.title }} {% if post.flair.flair_parts.len() > 0 %} {% call utils::render_flair(post.flair.flair_parts) %} {% endif %} {% if post.flags.nsfw %} NSFW{% endif %}

{% if post.post_type == "image" %} Post image {% else if post.post_type == "video" || post.post_type == "gif" %} {% else if post.post_type == "gallery" %} {% else if post.post_type == "link" %} {{ post.media.url }} {% endif %}
{{ post.body }}
{{ post.score.0 }} Upvotes
{% for c in comments -%}
{% if single_thread %}

View all comments

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

Show parent comments

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