From 831545696ee2b2ca11f1d3c6b91ee304d44fe7f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C4=ABna=20Lukjanovi=C4=8Da?= Date: Mon, 29 Apr 2024 09:26:00 +0000 Subject: [PATCH] Update templates/category.html --- templates/category.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}