Drop comment page

This commit is contained in:
cuom1999 2023-02-20 17:52:28 -06:00
parent 799ff5f8f8
commit f9207b811b
6 changed files with 25 additions and 56 deletions

View file

@ -29,7 +29,7 @@
<a href="{{ url('blog_post', post.id, post.slug) }}#comments" class="blog-comment-count-link">
<i class="fa fa-comments blog-comment-icon"></i>
<span class="blog-comment-count">
{{- post_comment_counts[post.id] or 0 -}}
{{- post.comments.filter(hidden=False).count() or 0 -}}
</span>
</a>
</span>