Fix default site.author in seo.html (#2230)

This commit is contained in:
Jason Thai 2019-08-09 06:08:02 -07:00 committed by Michael Rose
parent a2255d03e1
commit 666c15a66b

View file

@ -25,7 +25,7 @@
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
{%- assign author = site.data.authors[author] | default: author -%}
{%- if author.twitter -%}