Removed lektor disqus comments, using simple script

This commit is contained in:
Felipe M 2016-12-19 17:05:28 +01:00
parent 821f9bbf5c
commit 15f629b7ef
5 changed files with 24 additions and 4 deletions

View file

@ -8,7 +8,9 @@
{% block main_content %}
{{ render_blog_post(this) }}
{% if this.comments_enabled %}
<div class="center comments">{{ render_disqus_comments() }}</div>
<div class="comments center" id="disqus_thread"></div>
{% from 'macros/comments.html' import disqus with context %}
{{ disqus() }}
{% else %}
<div class="center info">
Comments have been disabled in this post, if you want to contact me please <a href="{{ '/contact'|url }}">go ahead</a>!