Fix default site.author in seo.html (#2230)
This commit is contained in:
parent
a2255d03e1
commit
666c15a66b
1 changed files with 1 additions and 1 deletions
|
@ -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 -%}
|
||||
|
|
Loading…
Reference in a new issue