From 2781e2eb4e053e57e41dec0306e7f53942936ef8 Mon Sep 17 00:00:00 2001 From: zt-chen Date: Mon, 30 Nov 2020 15:00:47 +0000 Subject: [PATCH] Move GA script to head.html (#140) --- _includes/head.html | 12 ++++++++++++ _includes/scripts/misc.html | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index c397baa..8c1afd9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -37,3 +37,15 @@ {% if site.enable_darkmode %} {% endif %} + +{% if site.enable_google_analytics %} + + + +{% endif %} diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index 6b10cef..a18682b 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -5,17 +5,6 @@ $(function () {$('[data-toggle="tooltip"]').tooltip()}) {% endif %} -{% if site.enable_google_analytics %} - - - -{% endif %}