diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 00000000000..8a3ae5c9ca1 --- /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 index eae554404ee..44cdb83f523 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,9 +1,12 @@ - + {% include head-custom-theme-colors.html %} - + +{% include head-custom-google-analytics.html %} + + diff --git a/_layouts/default.html b/_layouts/default.html index db8218fbc46..1c8c883a480 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -34,16 +34,5 @@

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

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