From ff3bc1defafadb7ad69ebdebca99a1798590ed21 Mon Sep 17 00:00:00 2001 From: "Joseph Hall (groundh0g)" Date: Tue, 31 Mar 2015 23:08:35 -0400 Subject: [PATCH] Revert "Site.Safe Replacement for Detecting Production Environment" --- _includes/JB/analytics | 4 +-- _includes/JB/comments-providers/disqus | 3 +- _includes/JB/is_production | 39 -------------------------- _includes/JB/setup | 3 +- _includes/JB/sharing | 3 +- index.md | 4 --- 6 files changed, 4 insertions(+), 52 deletions(-) delete mode 100644 _includes/JB/is_production diff --git a/_includes/JB/analytics b/_includes/JB/analytics index 13c172d..951a0e3 100644 --- a/_includes/JB/analytics +++ b/_includes/JB/analytics @@ -1,6 +1,4 @@ -{% include JB/is_production %} - -{% if is_production and site.JB.analytics.provider and page.JB.analytics != false %} +{% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %} {% case site.JB.analytics.provider %} {% when "google" %} diff --git a/_includes/JB/comments-providers/disqus b/_includes/JB/comments-providers/disqus index 6343100..618a7b7 100644 --- a/_includes/JB/comments-providers/disqus +++ b/_includes/JB/comments-providers/disqus @@ -1,7 +1,6 @@