From 827290b6930a2c0e672b0c8f700fe8223f35cd91 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:30:39 -0400 Subject: [PATCH 1/3] 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, 21 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 00000000..8a3ae5c9 --- /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 00000000..4fd58680 --- /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 b9f6ced8..f85920ce 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,6 +12,8 @@ {% seo %} + + {% include head-custom.html %} @@ -57,15 +59,5 @@

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

- {% if site.google_analytics %} - - {% endif %} From c50b1b2449a440595391edb6b0909106c861bd28 Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:47:22 -0400 Subject: [PATCH 2/3] Update head-custom.html --- _includes/head-custom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head-custom.html b/_includes/head-custom.html index 4fd58680..fb5e17d0 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,4 +1,4 @@ - + {% include head-custom-google-analytics.html %} From 1d091462719b66e26eb1e022b317d2dc878b82cc Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:48:23 -0400 Subject: [PATCH 3/3] Update head-custom.html --- _includes/head-custom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head-custom.html b/_includes/head-custom.html index fb5e17d0..f7187e79 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -3,7 +3,7 @@ {% include head-custom-google-analytics.html %} - +