From 753d5a504b0065476a4dab2f6890f0d3c3e2ff46 Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Mon, 12 Aug 2019 15:01:51 +0500 Subject: [PATCH] fix(disqus): remove SITEURL condition to show Disqus comments section --- templates/_includes/comments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_includes/comments.html b/templates/_includes/comments.html index 5edaa601..d0db7565 100644 --- a/templates/_includes/comments.html +++ b/templates/_includes/comments.html @@ -1,5 +1,5 @@ {% macro comments_disqus(article) %} - {% if SITEURL and article.status != 'draft' and article.comments != 'False' %} + {% if article.status != 'draft' and article.comments != 'False' %} {% from '_includes/_defaults.html' import DISQUS_FILTER with context %} @@ -44,7 +44,7 @@ {% endmacro %} {% macro comments_script_disqus(article) %} - {% if SITEURL and article.status != 'draft' %} + {% if article.status != 'draft' %} {% from '_includes/_defaults.html' import DISQUS_FILTER with context %} {%if (not DISQUS_FILTER or article.disqus_filter == "off") and DISQUS_SITENAME and article.disqus_filter != "on" %}