Skip to content

Commit

Permalink
fix(disqus): remove SITEURL condition to show Disqus comments section
Browse files Browse the repository at this point in the history
  • Loading branch information
talha131 committed Aug 12, 2019
1 parent 31f14ba commit 753d5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_includes/comments.html
Original file line number Diff line number Diff line change
@@ -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 %}

Expand Down Expand Up @@ -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" %}
Expand Down

0 comments on commit 753d5a5

Please sign in to comment.