Remove analytics in dev environment (#1362)

This commit is contained in:
Maaz Syed Adeeb 2017-11-27 22:41:32 +05:30 committed by Michael Rose
parent 02c109d24f
commit 7c2273f23d

View file

@ -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" %}