diff --git a/templates/category.html b/templates/category.html index 9f65aeb..16ceb7e 100644 --- a/templates/category.html +++ b/templates/category.html @@ -29,8 +29,8 @@ Upvote ({{ post.upvotes }}) Downvote ({{ post.downvotes }}) - {% if post.comments %} - {{ post.comments.count() }} Comments + {% if comments %} + {{ comment_count }} Comments {% else %} 0 Comments {% endif %}