{% extends "CHRISTMAS/default.html" %} {% 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 %} {% block title %} {% if 'rama' not in request.host %} {% if v %} {% endif %} {% endif %} {% if comment_info and not comment_info.is_banned and not linked_comment.deleted_utc > 0 %} {{'@'+comment_info.author.username}} comments on "{{p.plaintitle(v)}} - {{'SITE_NAME' | app_config}}" {% if comment_info.edited_utc %}{% endif %} {% if p.url and p.url.lower().endswith('.mp4') %} {% endif %} {% if linked_comment.author.is_private %} {% endif %} {% else %} {{p.plaintitle(v)}} - {{'SITE_NAME' | app_config}} {% if p.author %}{% endif %} {% if p.edited_utc %}{% endif %} {% if p.author %}{% endif %} {% if p.url and p.url.lower().endswith('.mp4') %} {% endif %} {% if p.author %}{% endif %} {% if p.author.is_private %} {% endif %} {% endif %} {% endblock %} {% block pagetype %}thread{% endblock %} {% block subHeader %}

Thread

{% endblock %} {% block content %}
{% if (p.is_banned and p.ban_reason) or (p.bannedfor and p.author.banned_by) %}
{% if p.is_banned and p.ban_reason %}
Removed by @{{p.ban_reason}}
{% endif %} {% if p.bannedfor and p.author.banned_by %}
Author was banned for this post by @{{p.author.banned_by.username}}
{% endif %}
{% endif %} {% if p.active_flags %} {% endif %} {% if p.awards or p.over_18 or p.stickied or p.is_pinned or p.private or p.flair or p.club %}
{% endif %}
{% if not p.is_image and p.thumb_url and not p.embed_url %} {% endif %}
{% if p.active_flags %} {% endif %}
{{ p.author.username }} avatar
{% if v and v.admin_level==6 and p.author.shadowbanned %} {% endif %} {% if p.distinguish_level %} {% endif %} {% if p.is_bot %} {% endif %} {% if p.author.verified %} {% endif %} {% if p.author.patron and not p.distinguish_level %} {{p.author.username}} {% elif p.distinguish_level and 'rama' in request.host %} {{p.author.username}} {% else %} {{p.author.username}} {% endif %} {% if p.author.customtitle %} {% if p.author.quadrant %} {% endif %} {{p.author.customtitle | safe}} {% endif %} {{p.age_string}} {% if p.edited_utc %} Edited {{ p.edited_string }} {% endif %} {% if p.is_image %} (image post) {% elif p.is_video %} (video post) {% elif p.realurl(v) %} ({{p.domain}}) {% else %} (text post) {% endif %}

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

{% if p.realurl(v) %} {% if "streamable.com/" in p.realurl(v) %}

						{% elif "spotify.com/" in p.realurl(v) %}
						{% if "spotify.com/embed/" in p.realurl(v) %}
						{% set streamurl=p.realurl(v) %}
						{% else %}
						{% set streamurl=p.realurl(v).replace("spotify.com", "spotify.com/embed") %}
						{% endif %}
						
						


						{% elif not p.embed_url and not p.is_image and not (p.url and p.url.lower().endswith('.mp4')) %}
						
							
{{p.domain|truncate(30, True)}}
{% endif %} {% endif %}
{% if p.is_image %} Unable to load image {% elif p.is_video %} {% endif %} {{p.realbody(v) | safe}} {% if p.options.count() %} {% include "CHRISTMAS/Poll.html" %} {% endif %} {% if p.bet_options.count() %} {% include "CHRISTMAS/Bets.html" %} {% endif %}
{% if p.embed_url %} {% if p.domain == "twitter.com" %} {{p.embed_url | safe}} {% if v and v.theme.split("_")[0] in ["light", "coffee", "4chan"] %} {% else %} {% endif %} {% elif "youtu" in p.domain %} {% if 'lite' in p.embed_url %} {{p.embed_url | safe}} {% else %}
{% endif %} {% endif %} {% endif %} {% if p.author.sig_html and (p.author_id == 1904 or not (v and v.sigs_disabled)) %}
{{p.author.sig_html | safe}} {% endif %}
{% if v and (v.id==p.author_id or v.admin_level > 1 and v.admin_level > 2) %}
{% include "CHRISTMAS/submission/SubmissionEditForm.html" %}
{% endif %} {% if p.embed_url and "http" not in p.embed_url and "<" not in p.embed_url %}
{{ p.embed_url | post_embed(v) | safe }}
{% endif %}
{% include "CHRISTMAS/submission/SubmissionActionsMobile.html" %}
{% if not p.is_image and not (p.url and p.url.lower().endswith('.mp4')) %}
{% endif %}
{{ p.comment_count }} {{ 'Response' if p.comment_count == 1 else 'Responses' }} {% if linked_comment and p.comment_count >= 2%} View entire thread {% endif %}
{% if v %}
{% include "CHRISTMAS/comments/CommentForm.html" %}
{% endif %} {% if not v and not p.is_banned %} {% endif %} {% if p.replies %}
{% with comments=p.replies %} {% include "CHRISTMAS/comments.html" %} {% endwith %}
{% elif not p.replies and p.deleted_utc == 0 %}

Be the first to comment!

{% if v %}

This comment section is a ghost town...

{% else %}

This comment section is a ghost town. Sign in

{% endif %}
{% endif %} {% if offset %} {% endif %}
{% endblock %} {% block sidebar %} {% include "CHRISTMAS/sidebars/SubmissionSidebar.html" %} {% endblock %} {% block modals %} {% if v %} {% if v.id == p.author_id %} {% include "CHRISTMAS/delete_post_modal.html" %} {% endif %} {% include "CHRISTMAS/report_post_modal.html" %} {% include "CHRISTMAS/award_modal.html" %} {% include "CHRISTMAS/emoji_modal.html" %} {% include "CHRISTMAS/gif_modal.html" %} {% if v.admin_level == 6 %} {% include "CHRISTMAS/ban_modal.html" %} {% endif %} {% endif %} {% include "CHRISTMAS/modals/ModalSubmissionActions.html" %} {% include "CHRISTMAS/expanded_image_modal.html" %} {% endblock %} {% block scripts %} {% include "CHRISTMAS/submission/SubmissionAwards.html" %} {% if v %} {% endif %} {% if v and (v.id == p.author_id or v.admin_level > 1 and v.admin_level > 2) %} {% endif %} {% if not v or v.highlightcomments %} {% endif %} {% endblock %}