diff --git a/templates/article.html b/templates/article.html index 61aa6ea..95cf39d 100755 --- a/templates/article.html +++ b/templates/article.html @@ -54,4 +54,22 @@
+ + {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %} +
+

Comments !

+
+ + +
+ {% endif %} {% endblock content %} diff --git a/templates/comments.html b/templates/comments.html new file mode 100644 index 0000000..bb033c0 --- /dev/null +++ b/templates/comments.html @@ -0,0 +1 @@ +{% if DISQUS_SITENAME %}

There are comments.

{% endif %} diff --git a/templates/index.html b/templates/index.html index 388840e..e798b78 100755 --- a/templates/index.html +++ b/templates/index.html @@ -38,6 +38,7 @@ {{ author }} {% endfor %} on {{ article.locale_date }} + {% include 'comments.html' %}