Added article:author used by Pinterest (#2670)

This commit is contained in:
Lars Olesen 2020-08-31 02:38:03 +02:00 committed by GitHub
parent b75f057a5e
commit 24b4585084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,9 @@
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% if og_type == "article" %}
<meta property="article:author" content="{{ author.name | default: author }}">
{% endif %}
{% endif %}
<meta property="og:type" content="{{ og_type }}">