diff --git a/_layouts/single.html b/_layouts/single.html index 1e42e3f6..21cd7114 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -65,8 +65,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 %}