Remove comments in dev environment (#1363)

This commit is contained in:
Maaz Syed Adeeb 2017-11-27 22:42:22 +05:30 committed by Michael Rose
parent 7c2273f23d
commit 1b3cc608bb

View file

@ -63,7 +63,7 @@ layout: default
{% include post_pagination.html %}
</div>
{% if site.comments.provider and page.comments %}
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}
</article>