diff --git a/_includes/scripts.html b/_includes/scripts.html index 92b1608..d42a0e6 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -58,6 +58,6 @@ {% endif %} -{% if page.comments %} +{% if page.comments or site.comments %} {% include disqus_comments.html %} {% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index a94758d..f5cd081 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -35,13 +35,13 @@ By {{ author.name }} {% if page.modified %}{% endif %} - {% if site.owner.disqus-shortname and page.comments == true %} Comment{% endif %} + {% if (site.owner.disqus-shortname and page.comments) or site.comments %} Comment{% endif %} {% if page.share %}{% include social-share.html %}{% endif %} {% if page.ads == true %}{% include ad-sidebar.html %}{% endif %}
{{ content }} - {% if site.owner.disqus-shortname and page.comments == true %}
{% endif %} + {% if (site.owner.disqus-shortname and page.comments) or site.comments %}
{% endif %}