From 7241e59b38825692018b5261c3c773a7640b9536 Mon Sep 17 00:00:00 2001 From: jluccisano Date: Sun, 12 Feb 2017 17:22:00 +0100 Subject: [PATCH] Remove Google Authorship - Fixes #120 - Add person microdata in author sidebar --- _includes/_author-bio.html | 44 +++++++++++++++++++++----------------- _includes/_head.html | 1 - 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/_includes/_author-bio.html b/_includes/_author-bio.html index 47ec1b5a5191..9ee74d2b614b 100644 --- a/_includes/_author-bio.html +++ b/_includes/_author-bio.html @@ -2,28 +2,32 @@ {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %} {% endif %} +
+ {% if author.avatar contains 'http' %} {{ author.name }} bio photo {% else %} {{ author.name }} bio photo {% endif %} -

{{ author.name }}

-

{{ author.bio }}

-{% if author.email %} Email{% endif %} -{% if author.twitter %} Twitter{% endif %} -{% if author.facebook %} Facebook{% endif %} -{% if author.google.plus %} Google+{% endif %} -{% if author.linkedin %} LinkedIn{% endif %} -{% if author.instagram %} Instagram{% endif %} -{% if author.tumblr %} Tumblr{% endif %} -{% if author.github %} Github{% endif %} -{% if author.stackoverflow %} Stackoverflow{% endif %} -{% if author.lastfm %} Last.fm{% endif %} -{% if author.dribbble %} Dribbble{% endif %} -{% if author.pinterest %} Pinterest{% endif %} -{% if author.foursquare %} Foursquare{% endif %} -{% if author.steam %} Steam{% endif %} -{% if author.youtube %} Youtube{% endif %} -{% if author.soundcloud %} Soundcloud{% endif %} -{% if author.weibo %} Weibo{% endif %} -{% if author.flickr %} Flickr{% endif %} + +

{{ author.name }}

+

{{ author.bio }}

+ {% if author.email %}Email{% endif %} + {% if author.twitter %} Twitter{% endif %} + {% if author.facebook %} Facebook{% endif %} + {% if author.google.plus %} Google+{% endif %} + {% if author.linkedin %} LinkedIn{% endif %} + {% if author.instagram %} Instagram{% endif %} + {% if author.tumblr %} Tumblr{% endif %} + {% if author.github %} Github{% endif %} + {% if author.stackoverflow %} Stackoverflow{% endif %} + {% if author.lastfm %} Last.fm{% endif %} + {% if author.dribbble %} Dribbble{% endif %} + {% if author.pinterest %} Pinterest{% endif %} + {% if author.foursquare %} Foursquare{% endif %} + {% if author.steam %} Steam{% endif %} + {% if author.youtube %} Youtube{% endif %} + {% if author.soundcloud %} Soundcloud{% endif %} + {% if author.weibo %} Weibo{% endif %} + {% if author.flickr %} Flickr{% endif %} +
\ No newline at end of file diff --git a/_includes/_head.html b/_includes/_head.html index ee9acd0b79cf..d8d07542e1d2 100644 --- a/_includes/_head.html +++ b/_includes/_head.html @@ -15,7 +15,6 @@ {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} -{% if site.owner.google.plus %}{% endif %}