From a1a35db1572d33056661cb646cf9fbfec93bd449 Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Sun, 30 Sep 2018 18:30:19 +0800 Subject: [PATCH] Update Google Analytics --- _config.yml | 2 ++ _includes/analytics.html | Bin 652 -> 0 bytes _includes/google-analytics.html | 12 ++++++++++++ _layouts/default.html | 3 --- 4 files changed, 14 insertions(+), 3 deletions(-) delete mode 100644 _includes/analytics.html create mode 100644 _includes/google-analytics.html diff --git a/_config.yml b/_config.yml index 2a473b2..c3a0a3e 100644 --- a/_config.yml +++ b/_config.yml @@ -46,6 +46,8 @@ plugins: pinpost: ["A Freebie's Resource List (Mostly Related to Programming)", "An Absolute Beginners' Complete Web Development Resource List"] +google_analytics: UA-126718538-1 + # Default settings defaults: - diff --git a/_includes/analytics.html b/_includes/analytics.html deleted file mode 100644 index 66fe9c58f0f7eaa59bbd77669b2a3e38e2423c01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 652 zcma)(PfNo<5XIkF@H?!%Bn6XF#Xs1n2tqGjJ&A`HYZ@_$G$|oizqY~BO$M-C%V)~OU`N#l`b@4HExB>_?^@#$zibbQf99d z(qAg4W2qN)wwl+dxMCY!)A|1wydCnhChfF9yH^f_alLb6u*Jt0&epc6Rr}er(X-2hU@cwkz>)D2V{sH}2 BXYl|4 diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html new file mode 100644 index 0000000..e9afb20 --- /dev/null +++ b/_includes/google-analytics.html @@ -0,0 +1,12 @@ + + diff --git a/_layouts/default.html b/_layouts/default.html index a456e98..58e141b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,9 +15,6 @@ {%- include footer.html -%} - {%- if jekyll.environment == 'production' -%} - {%- include analytics.html -%} - {%- endif -%}