From 17687742ae85dcd4a19a7c5c40a61498a01aea51 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 21 Sep 2018 09:06:24 +0800 Subject: [PATCH] add social media meta tags --- _includes/head.html | 66 ++++++++++++++++++++++++++++--------------- _layouts/default.html | 2 +- 2 files changed, 44 insertions(+), 24 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 2f39cb6..001e2b4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -8,32 +8,52 @@ gtag('config', 'UA-113797180-1'); - - - + {{page.title}} | Web Technologies and Productivity Hacks | {{site.title}} + + + + - - - {% if page.type == "post" %} - {% else %}{% endif %} - - - - + + + + - Web Technologies and Productivity Hacks | {{site.title}} + + + + + + + + - - - - {% if jekyll.environment == 'production' and site.google_analytics %} + + + {% if page.type == "post" %} + {% else %}{% endif %} + + + + + + + + + + + + {% if jekyll.environment == 'production' and site.google_analytics %} {% include google-analytics.html %} - {% endif %} - - + {% endif %} - + + + diff --git a/_layouts/default.html b/_layouts/default.html index 9c01586..6c1f383 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,5 +1,5 @@ - + {% include head.html %}