From c65cb24e6e665bcbba79770d24406bd0adfb4d88 Mon Sep 17 00:00:00 2001 From: Maaz Syed Adeeb Date: Mon, 27 Nov 2017 22:41:32 +0530 Subject: [PATCH] Remove analytics in dev environment (#1362) --- _includes/analytics.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/analytics.html b/_includes/analytics.html index 64a3359..5448a50 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -1,4 +1,4 @@ -{% if site.analytics.provider and page.analytics != false %} +{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %} {% case site.analytics.provider %} {% when "google" %} -- 2.43.0