Update templates/category.html

main
Elīna Lukjanoviča 2024-04-29 09:27:34 +00:00
parent 3a433e69cd
commit c047b31745
1 changed files with 0 additions and 5 deletions

View File

@ -29,11 +29,6 @@
<a href="{{ url_for('upvote_post', post_id=post.id) }}" class="btn btn-sm btn-success"><i class="fas fa-arrow-up"></i> Upvote ({{ post.upvotes }})</a>
<a href="{{ url_for('downvote_post', post_id=post.id) }}" class="btn btn-sm btn-danger"><i class="fas fa-arrow-down"></i> Downvote ({{ post.downvotes }})</a>
</div>
{% if comments %}
<small class="text-muted">{{ comment_count }} Comments</small>
{% else %}
<small class="text-muted">0 Comments</small>
{% endif %}
</div>
</div>
</div>