From 07616a215decaa5a6163d4c37581de9369dec254 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:50:22 -0400 Subject: [PATCH] Add head-custom.html to allow easier customization of the --- _includes/head-custom-google-analytics.html | 10 ++++++++++ _includes/head-custom.html | 9 +++++++++ _layouts/default.html | 12 +----------- 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 _includes/head-custom-google-analytics.html create mode 100644 _includes/head-custom.html diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 0000000000..8a3ae5c9ca --- /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 new file mode 100644 index 0000000000..f7187e79e5 --- /dev/null +++ b/_includes/head-custom.html @@ -0,0 +1,9 @@ + + + +{% include head-custom-google-analytics.html %} + + + + + diff --git a/_layouts/default.html b/_layouts/default.html index e2bfab0f75..1b34eb086d 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -13,6 +13,7 @@ + {% include head-custom.html %} @@ -51,16 +52,5 @@

{{ page.title | default: site.title | default: site.github.repository_name }

Hosted on GitHub Pages — Theme by mattgraham

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