From 41b08b48d12b43c79d6a8bcc591554fd5ac452d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=9C=CE=B1=CE=BA=CE=B1=CF=81=CF=8C=CE=BD=CE=B9=CE=B1=20?= =?UTF-8?q?=CE=BC=CE=B5?= <32320229+makaroniame@users.noreply.github.com> 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 %} + +