Skip to content

Commit 17bf46a

Browse files
maazadeebmmistakes
authored andcommitted
Remove analytics in dev environment (mmistakes#1362)
1 parent b6a94ec commit 17bf46a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/analytics.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if site.analytics.provider and page.analytics != false %}
1+
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
22

33
{% case site.analytics.provider %}
44
{% when "google" %}

0 commit comments

Comments
 (0)