From bd07580c332abe036e12d3a043194920c1771fdf Mon Sep 17 00:00:00 2001 From: James Tranovich Date: Wed, 12 Jun 2024 13:46:03 -0700 Subject: [PATCH] remove analytics include; it is redundant --- _includes/analytics.html | 15 --------------- _includes/layouts/default.html | 9 --------- _includes/scripts.html | 5 +---- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 _includes/analytics.html diff --git a/_includes/analytics.html b/_includes/analytics.html deleted file mode 100644 index e49c5556d..000000000 --- a/_includes/analytics.html +++ /dev/null @@ -1,15 +0,0 @@ -{% if site.google_analytics_ua %} - - - -{% endif %} - -{% if site.dap_agency %} - - -{% endif %} diff --git a/_includes/layouts/default.html b/_includes/layouts/default.html index b15af64a8..402d78418 100644 --- a/_includes/layouts/default.html +++ b/_includes/layouts/default.html @@ -3,13 +3,6 @@ {% include "meta.html" %} {% include "styles.html" %} - {% comment %} - Removing this include because it conflicts with (duplicates) "scripts.html", - included in many places. - {% if site.google-analytics.ua or site.dap.agency %} - {% include "analytics.html" %} - {% endif %} - {% endcomment %} @@ -38,8 +31,6 @@

{{ page.tagline {% endif %} {% include "footer.html" %} - {% include "scripts.html" %} - diff --git a/_includes/scripts.html b/_includes/scripts.html index fa75a171c..2fd2d64dd 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -3,10 +3,7 @@ {% if site.dap.agency %} - + {% endif %} {% if site.google-analytics.ua %}