{% load posts %} {% load text_filters %}
{% if post.metadata.event %}
{{ post.event_datetime|date:"d" }}
{{ post.event_datetime|date:"E"|lower }}
{% endif %}
{% if post.is_pinned %}{% endif %} {{ post.title | rutypography }} {% if post.label %} {% include "posts/widgets/label.html" with label=post.label %} {% endif %}
Аватар {{ post.author.full_name }}
{% if post.room %} {% include "rooms/widgets/room.html" with room=post.room type="inline" %} {% endif %} {{ post.comment_count }} {{ post.comment_count | rupluralize:"комментарий,комментария,комментариев" }} {% if post.unread_comments %} +{{ post.unread_comments }} {{ post.unread_comments | rupluralize:"новый,новых,новых" }} {% endif %} {% include "posts/widgets/bookmark_controls.html" %}