Highlight Post Authors in Comments

This commit is contained in:
spikecodes
2020-12-21 08:38:24 -08:00
parent b1071e9579
commit b1a572072c
5 changed files with 11 additions and 4 deletions

View File

@ -13,7 +13,7 @@
<div class="line"></div>
</div>
<details class="comment_right" open>
<summary class="comment_data"><a class="comment_author" href="/u/{{ item.author }}">u/{{ item.author }}</a>
<summary class="comment_data"><a class="comment_author {% if item.author == post.author %}op{% endif %}" href="/u/{{ item.author }}">u/{{ item.author }}</a>
{% if item.flair.0 != "" %}
<small class="author_flair">{{ item.flair.0 }}</small>
{% endif %}