{% extends "default.html" %} {% block pagetitle %} {%- if comment_info -%} @{{comment_info.author_name}} comments on '{{p.plaintitle(v)}}' {%- else -%} {{p.plaintitle(v)}} {%- endif -%} {% endblock %} {% block pagetype %}thread{% endblock %} {% block head_final %} {% include "awards.html" %} {% include "fistmas/awards.html" %} {% endblock %} {% set ups=p.upvotes %} {% set downs=p.downvotes %} {% set score=ups-downs %} {% if v %} {% set voted=p.voted if p.voted else 0 %} {% else %} {% set voted=-2 %} {% endif %} {% set v_forbid_deleted = (p.deleted_utc != 0) and not (v and v.admin_level >= PERMS['POST_COMMENT_MODERATION']) and not (v and v.id == p.author_id) %} {% block actionsModal %} {% if v %} {% endif %} {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} {% include "post_admin_actions_mobile.html" %} {% endif %} {% endblock %} {% block content %}
{% if not p.is_image and p.thumb_url and not p.embed %}
Unable to load image
{% endif %}
{% if p.active_flags(v) %}
Reported by:
    {% for f in p.filtered_flags(v) %}
  • {{f.user.username}}{% if f.reason %}: {{f.realreason(v) | safe}}{% endif %} {% if v and v.admin_level >= PERMS['FLAGS_REMOVE'] %}{% endif %}
  • {% endfor %}
{% endif %} {% if p.realurl(v) and not v_forbid_deleted %}

{% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}

{% else %}

{% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}

{% endif %} {% if not v_forbid_deleted %}
{% if p.realurl(v) and not p.embed and not p.is_image and not p.is_video and not p.is_audio %}
{{p.realurl(v)}}
{% endif %} {% if p.embed %} {% if p.domain == "twitter.com" %} {{p.embed | safe}} {% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %} {% else %} {% endif %} {% elif p.domain in ['youtu.be','youtube.com'] and p.embed and p.embed.startswith(' {% if p.is_image %} {% elif p.is_video %}

{% elif p.is_audio %}
{% endif %} {{p.realbody(v) | safe}} {% if p.is_banned and p.ban_reason %}
removed by @{{p.ban_reason}} (Admin)
{% endif %}
{% else %}
[Deleted by author.]
{% endif %} {% if v and v.can_edit(p) and not v.is_suspended %} {% endif %} {% if p.embed and "http" not in p.embed and "<" not in p.embed %}
{{p.embed | post_embed(v) | safe}}
{% endif %}
    {{p.comment_count}} {% if v and v.can_edit(p) %} {% elif v and v.id != p.author_id and p.body and not v_forbid_deleted %} {% endif %} {% include 'post_actions.html' %}
{% if v %}
{{score}}
{% else %}
{{score}}
{% endif %}
  • {{p.comment_count}} {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} {% endif %}
  • {% if v %}
  • {% endif %}
  • {% if v %} {% else %} {% endif %} {{score}} {% if v %} {% else %} {% endif %}
{% if v and v.id != p.author_id and p.body and not v_forbid_deleted and v.admin_level < PERMS['POST_EDITING'] %}
{{p.body.strip()}}
{% endif %}
{{macros.comment_reply_box(p.fullname, 'comment-reply-' + p.fullname, subwrapper_css_classes='mb-3', enable_cancel_button=false)}} {% if comment_info %} {% endif %} {% if p.replies %}
{% with comments=p.replies %} {% include "comments.html" %} {% endwith %}
{% if offset %} {% endif %} {% elif not p.replies and p.deleted_utc == 0 %}
{% if v %} {% set ghost_town = 'This comment section is a ghost town...' %} {% else %} {% set ghost_town = 'This comment section is a ghost town... Sign in

'%} {% endif %} {{macros.ghost_box('Be the first to comment!', ghost_town, 1)}}
{% endif %}
{% if v %} {% if v.id == p.author_id %}{% include "modals/delete_post.html" %}{% endif %} {% include "modals/report_post.html" %} {% if v.can_edit(p) %} {% endif %} {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} {% endif %} {% endif %} {% if not p.replies %}{% include "comments.html" %}{% endif %} {% if fart and not (v and v.has_badge(128)) %} {% endif %} {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} {% endif %} {% endblock %}