From cb5da9f4d257978f9aebbee9a86a96fcab689b2e Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:54:08 -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 | 13 ++----------- 3 files changed, 21 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 9ed409ad7f..0870472281 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,12 +10,13 @@ + {% include head-custom.html %}

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

- + {% if site.logo %} Logo {% endif %} @@ -51,15 +52,5 @@

{{ site.title | default: site.github.repo

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