From c28c04002eff2c3407528ad0565cf9a487c6a765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Thu, 28 Nov 2019 16:26:58 +0000 Subject: [PATCH] Disabled comments --- templates/blog/post.html | 12 +++--------- templates/macros/blog.html | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/templates/blog/post.html b/templates/blog/post.html index af98201..d572adf 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -7,15 +7,9 @@ {% block main_content %} {{ render_blog_post(this) }} - {% if this.comments_enabled %} -
-
-
- {% else %} -
- Comments have been disabled in this post, if you want to contact me please go ahead! -
- {% endif %} +
+ Comments have been disabled in this blog, if you want to contact me directly please go ahead! +
{% endblock %} {% block endbody %} diff --git a/templates/macros/blog.html b/templates/macros/blog.html index e4c8c24..aed8f86 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -3,7 +3,7 @@

{{ post.title }}

- Published on {{ post.pub_date }} with no comments. + Published on {{ post.pub_date }}
{% if from_index and summary|length > 1 %}