diff --git a/_includes/author-profile.html b/_includes/author-profile.html index bd560f7..8dc59fe 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -1,5 +1,9 @@ {% assign author = page.author | default: page.authors[0] | default: site.author %} +{% if site.authors|where:"title",author|first %} +{% assign author = site.authors|where:"title",author|first %} +{% else %} {% assign author = site.data.authors[author] | default: author %} +{% endif %}