From ef7aeeb07d66d03c60fa0514ee67507ef3eba275 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 16 Nov 2016 11:48:52 -0500 Subject: [PATCH] Add structured data markup for `itemprop="person"` in author-profile --- docs/_includes/author-profile.html | 149 +++++++++++++++++++++++------ 1 file changed, 119 insertions(+), 30 deletions(-) diff --git a/docs/_includes/author-profile.html b/docs/_includes/author-profile.html index 97261f32..f6637c8f 100644 --- a/docs/_includes/author-profile.html +++ b/docs/_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 %}
@@ -7,95 +9,182 @@ {% if author.avatar %}
{% if author.avatar contains "://" %} - {{ author.name }} + {{ author.name }} {% else %} - {{ author.name }} + {{ author.name }} {% endif %}
{% endif %}
-

{{ author.name }}

- {% if author.bio %}

{{ author.bio }}

{% endif %} +

{{ author.name }}

+ {% if author.bio %} +

+ {{ author.bio }} +

+ {% endif %}