mirror of
https://github.com/86Box/86box.github.io.git
synced 2026-02-22 01:25:35 -07:00
Make blog post authors an array
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{% if include.post.title == page.title %}<h1>{% else %}<h2><a href="{{ include.post.url }}">{% endif %}
|
||||
{{ include.post.title }}
|
||||
{% if include.post.title == page.title %}</h1><span>{% else %}</a></h2><small>{% endif %}
|
||||
{{ include.post.date | date: "%B %-d, %Y" }} - written by <a href="https://github.com/{{ include.post.author }}">{{ include.post.author }}</a>
|
||||
{{ include.post.date | date: "%B %-d, %Y" }}
|
||||
{% for author in include.post.authors %}{% if forloop.first %}- written by{% elsif forloop.last %} and{% else %},{% endif %} <a href="https://github.com/{{ author }}">{{ author }}</a>{% endfor %}
|
||||
{% if include.post.title == page.title %}</span>{% else %}</small>{% endif %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
layout: post
|
||||
title: "86Box v3.0"
|
||||
description: "86Box v3.0 is here. Check out what's new."
|
||||
author: "richardg867"
|
||||
authors: ["richardg867"]
|
||||
image: "/assets/images/v3.0/hero.png"
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user