Skip to content
Permalink
Browse files

fix(disqus): remove SITEURL condition to show Disqus comments section

  • Loading branch information...
talha131 committed Aug 12, 2019
1 parent 31f14ba commit 753d5a504b0065476a4dab2f6890f0d3c3e2ff46
Showing with 2 additions and 2 deletions.
  1. +2 −2 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" %}

0 comments on commit 753d5a5

Please sign in to comment.
You can’t perform that action at this time.