diff --git a/_layouts/single.html b/_layouts/single.html index 738fc4c5..2e87309d 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -68,8 +68,15 @@ layout: default {% include post_pagination.html %} - {% if jekyll.environment == 'production' and site.comments.provider and page.comments %} - {% include comments.html %} + {% if site.comments.provider and page.comments %} + {% if jekyll.environment == 'production' %} + {% include comments.html %} + {% else %} +
+ Comments are configured with provider: {{ site.comments.provider }}, + but are disabled in non-production environments. +
+ {% endif %} {% endif %}