Disabled disqus

This commit is contained in:
Felipe M 2019-09-27 19:37:28 +02:00
parent 31183b4c2a
commit 921e0e088c
Signed by: fmartingr
GPG key ID: 716BC147715E716F
2 changed files with 4 additions and 4 deletions

View file

@ -8,16 +8,16 @@
{% block main_content %} {% block main_content %}
{{ render_blog_post(this) }} {{ render_blog_post(this) }}
{% if this.comments_enabled %} {#% if this.comments_enabled %}
<div class="comments center" id="disqus_thread"></div> <div class="comments center" id="disqus_thread"></div>
{% else %} {% else %}
<div class="center block-info"> <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>! Comments have been disabled in this post, if you want to contact me please <a href="{{ '/contact'|url }}">go ahead</a>!
</div> </div>
{% endif %} {% endif %#}
{% endblock %} {% endblock %}
{% block endbody %} {% block endbody %}
{{ super() }} {{ super() }}
{{ disqus_comments_script() }} {# {{ disqus_comments_script() }} #}
{% endblock %} {% endblock %}

View file

@ -17,6 +17,6 @@
<h3>Edits</h3> <h3>Edits</h3>
{{ post.edit_comment }} {{ post.edit_comment }}
{% endif %} {% endif %}
<hr class="light"> <!--<hr class="light"> -->
</article> </article>
{% endmacro %} {% endmacro %}