{% macro comments(article) %} {% if DISQUS_SITENAME and SITEURL and article.status != 'draft' %}
{% if article.comments_intro %}

{{ article.comments_intro }}

{% else %} {% from '_includes/_defaults.html' import COMMENTS_INTRO with context %} {%if COMMENTS_INTRO %}

{{ COMMENTS_INTRO }}

{% endif %} {% endif %}
{% from '_includes/disqus_scripts.html' import disqus_comments_script with context %} {{ disqus_comments_script(article) }}
{% endif %} {% endmacro %} {% macro comments_script(article) %} {% if DISQUS_SITENAME and SITEURL and article.status != 'draft' %} {% from '_includes/disqus_scripts.html' import disqus_misc_scripts with context %} {{ disqus_misc_scripts() }} {% endif %} {% endmacro %}