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..f7187e79 --- /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 %}