From 9bd38e53405526dd4ab590c12f078fa3bb308614 Mon Sep 17 00:00:00 2001 From: Dominik Prodinger Date: Wed, 3 Oct 2018 09:10:55 +0200 Subject: [PATCH] Revert "Add Google Analytics Support and Improve SEO" This reverts commit 628e6dce5d329f43d1ba1986359496c2b6cb3ce0. --- _config.yml | 3 --- _includes/analytics.html | 6 ------ _includes/head.html | 16 ++++++++++------ 3 files changed, 10 insertions(+), 15 deletions(-) delete mode 100644 _includes/analytics.html diff --git a/_config.yml b/_config.yml index f42db81..0c80841 100644 --- a/_config.yml +++ b/_config.yml @@ -4,9 +4,6 @@ description: "Minimal Jekyll theme for storytellers" baseurl: "/tale" url: "https://chesterhow.github.io" -# Google Analytics -google_analytics: UA—XXXXXXXX-X - # Author author: name: Chester How diff --git a/_includes/analytics.html b/_includes/analytics.html deleted file mode 100644 index e909005..0000000 --- a/_includes/analytics.html +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index 6e7d61d..41789c6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,17 @@ + {% if page.title == "Home" %} + + {% endif %} - {% seo %} + + {% if page.title == "Home" %} + {{ site.title }} + {% else %} + {{ page.title }} · {{ site.title }} + {% endif %} + @@ -15,9 +24,4 @@ {% feed_meta %} - - - {% if site.google_analytics and jekyll.environment == 'production' %} - {% include analytics.html %} - {% endif %}