From 579020104f84cecfe71a65e019a8fb1b96e48cf2 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 26 Jul 2021 15:57:49 -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 | 14 ++------------ 3 files changed, 21 insertions(+), 12 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..f7187e7 --- /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 3987eeb..91b4371 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,13 +6,14 @@ - + {% seo %} + {% include head-custom.html %} @@ -60,16 +61,5 @@

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

tarzipsource code

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