From cd5e05d5632a69a9c44066fdacbc25ff88c24fb7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 12 Sep 2021 21:39:09 -0400 Subject: posts: fixed a bug in essay template --- app/posts/templates/posts/essay_detail.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/posts/templates') diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html index c4d2b66..adc4331 100644 --- a/app/posts/templates/posts/essay_detail.html +++ b/app/posts/templates/posts/essay_detail.html @@ -113,19 +113,21 @@
If you enjoyed this, you should join the mailing list…
{% include 'mailing_list.html' %} {% endcomment %} - {% if object.enable_comments %} {% get_comment_count for object as comment_count %} {%if comment_count > 0 %} -

{{comment_count}} Comment{{ comment_count|pluralize }}

+
+

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} -
+
{% render_comment_form for object %}
{% else %}

Sorry, comments have been disabled for this post.

{%endif%} +
+ {% endblock %} {% block js %} -- cgit v1.2.3