Skip to content

Commit

Permalink
Fix default site.author in seo.html (mmistakes#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontthai authored and mmistakes committed Aug 9, 2019
1 parent 29b2c92 commit 1532061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
Expand Down

0 comments on commit 1532061

Please sign in to comment.