From 52c0d288d7efd4f70e96dc2652d3fa623b976958 Mon Sep 17 00:00:00 2001 From: Maaz Syed Adeeb Date: Mon, 27 Nov 2017 22:42:22 +0530 Subject: [PATCH] Remove comments in dev environment (#1363) --- _layouts/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/single.html b/_layouts/single.html index 6997cf10dfde..49d92130ded7 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -63,7 +63,7 @@

{{ site.data.ui-text[site.locale].meta_label }}

- {% if site.comments.provider and page.comments %} + {% if jekyll.environment == 'production' and site.comments.provider and page.comments %} {% include comments.html %} {% endif %}