Make blog post authors an array

This commit is contained in:
RichardG867
2021-12-10 14:11:05 -03:00
parent 74ef99c3fc
commit 5d4b041525
3 changed files with 7 additions and 4 deletions

View File

@@ -11,8 +11,10 @@
{% if page.layout == "post" %}
<meta property="og:type" content="article" />
<meta property="og:published_time" content="{{ page.date | date: "%FT%TZ" }}" />
<meta property="article:author" content="https://github.com/{{ page.author }}" />
<meta property="article:author:username" content="{{ page.author }}" />
{% for author in page.authors %}
<meta property="article:author" content="https://github.com/{{ author }}" />
<meta property="article:author:username" content="{{ author }}" />
{% endfor %}
{% else %}
<meta property="og:type" content="website" />
{% endif %}