From fcd78e421086d951285637cebe2af407c35fff86 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:45:12 -0400 Subject: [PATCH 1/2] 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 | 11 +---------- 3 files changed, 20 insertions(+), 10 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 0000000..8a3ae5c --- /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 0000000..4fd5868 --- /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 e203902..e2d1949 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,6 +11,7 @@ + {% include head-custom.html %}
@@ -46,15 +47,5 @@

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

- {% if site.google_analytics %} - - {% endif %} From 5fb3ce51e67a26b966b7b91d7cccb31c145d1657 Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:49:27 -0400 Subject: [PATCH 2/2] Update head-custom.html --- _includes/head-custom.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/head-custom.html b/_includes/head-custom.html index 4fd5868..f7187e7 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,9 +1,9 @@ - + {% include head-custom-google-analytics.html %} - +