{% extends "base.html" %} {% from "macros/title.html" import title_tag with context %} {% from "macros/feed.html" import single_comment, feed_upvote, comment_count with context %} {% from "macros/create.html" import comment_area with context %} {% from "macros/icon.html" import icon, callout with context %} {% from "macros/nav.html" import nav_guild, nav_user with context %} {% block title %} {{ title_tag(p.title + '; from ' + p.topic_or_user().handle()) }} {# meta name="og:description" coming in 0.4 #} {% if p.author %} {% endif %} {% endblock %} {% block nav %} {% if p.guild %} {{ nav_guild(p.guild) }} {% elif p.author %} {{ nav_user(p.author) }} {% endif %} {% endblock %} {% block content %}

{{ p.title }}

Posted by @{{ p.author.username }} {% if p.guild %} on +{{ p.guild.name }} {% else %} on their user page {% endif %} - {% if p.privacy == 1 %} - {{ icon('link_post') }} Unlisted {% endif %}
{% if current_user.is_administrator and p.report_count() %} {% call callout('spoiler', 'error') %} {{ p.report_count() }} reports. Take action {% endcall %} {% endif %} {% if p.is_removed %} {% call callout('delete', 'error') %} This post has been removed {% endcall %} {% endif %}
{{ p.text_content | to_markdown }}
{{ feed_upvote(p.id, p.upvotes(), p.upvoted_by(current_user.user)) }} {{ comment_count(p.comment_count()) }}
{{ comment_area(p) }}
{% endblock %}