dont apply award classes on post_listing body previews to help performance

pull/213/head
Aevann 2023-10-11 20:38:37 +03:00
parent 7d1aa771d1
commit 42003c7e00
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@
{% if not v_forbid_deleted %}
{% if p.realbody(v) %}
<div class="{{p.award_classes(v)}} d-none card rounded border post-preview" id="post-text-{{p.id}}">
<div class="{% if p.chudded %}text-uppercase{% endif %} d-none card rounded border post-preview" id="post-text-{{p.id}}">
{{p.realbody(v) | safe}}
</div>
{% endif %}