diff --git a/_includes/seo.html b/_includes/seo.html index 48fa000304f0..ca66e4df01d6 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -25,7 +25,7 @@ -{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %} +{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %} {% if seo_author %} {% if seo_author.twitter %} {% assign seo_author_twitter = seo_author.twitter %} @@ -39,6 +39,8 @@ {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %} {% endif %} + +