From c23c6f9765ef46c2e3174c994679b287a0d3c036 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 48fa0003..ca66e4df 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 %} + +