From ecb8f585e1597da1c8778fdb7aa307e6da9e56e6 Mon Sep 17 00:00:00 2001 From: Rodolfo Saccani Date: Sun, 19 Feb 2017 23:09:04 +0100 Subject: [PATCH] meta tag "author" added, for site author the field name is used --- _includes/seo.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 %} + +