Disabled comments

This commit is contained in:
Felipe M 2019-11-28 16:26:58 +00:00
parent a1c8632e5f
commit c28c04002e
2 changed files with 4 additions and 10 deletions

View file

@ -7,15 +7,9 @@
{% block main_content %}
{{ render_blog_post(this) }}
{% if this.comments_enabled %}
<div class="comments center block">
<div id="commento"></div>
</div>
{% else %}
<div class="center block-info">
Comments have been disabled in this post, if you want to contact me please <a href="{{ '/contact'|url }}">go ahead</a>!
</div>
{% endif %}
<div class="center block-info">
Comments have been disabled in this blog, if you want to contact me directly please <a href="{{ '/contact'|url }}">go ahead</a>!
</div>
{% endblock %}
{% block endbody %}