From fd3f6c12e1afb2f3470be50fb8b97fa4d451f068 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:47:03 -0400 Subject: [PATCH] Add head-custom.html to allow easier customization of the --- _includes/head-custom-google-analytics.html | 10 ++++++++++ _includes/head-custom.html | 7 +++++-- _layouts/default.html | 11 ----------- 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 _includes/head-custom-google-analytics.html diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 00000000000..8a3ae5c9ca1 --- /dev/null +++ b/_includes/head-custom-google-analytics.html @@ -0,0 +1,10 @@ +{% if site.google_analytics %} + +{% endif %} diff --git a/_includes/head-custom.html b/_includes/head-custom.html index eae554404ee..44cdb83f523 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,9 +1,12 @@ - + {% include head-custom-theme-colors.html %} - + +{% include head-custom-google-analytics.html %} + + diff --git a/_layouts/default.html b/_layouts/default.html index db8218fbc46..1c8c883a480 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -34,16 +34,5 @@

{{ site.description | default: site.github.project_tagline }}

{{ content }} - - {% if site.google_analytics %} - - {% endif %}