From e5d9c962c82c6e609af57f55bdf391fbb4a3fbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=9C=CE=B1=CE=BA=CE=B1=CF=81=CF=8C=CE=BD=CE=B9=CE=B1=20?= =?UTF-8?q?=CE=BC=CE=B5?= <32320229+makaroniame@users.noreply.github.com> Date: Sun, 13 Nov 2016 20:38:49 +0000 Subject: [PATCH] Add structured data markup for `itemprop="person"` in author-profile Adds schema.org data for image, name, homeLocation, url, email, and sameAs (for all the social media links). --- _includes/author-profile.html | 153 +++++++++++++++++++++++++++------- 1 file changed, 121 insertions(+), 32 deletions(-) diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 97261f3218a7..6b849a3fb46c 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,5 +1,7 @@ {% if page.author and site.data.authors[page.author] %} - {% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %} + {% assign author = site.data.authors[page.author] %} +{% else %} + {% assign author = site.author %} {% endif %}