Use Open Graph type 'article' for blog posts (#669)

This commit is contained in:
cketti 2020-06-28 21:53:25 +02:00 committed by GitHub
parent 3ecedf0684
commit 45ef2fc8c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -64,7 +64,13 @@
{% endif %}
{% if page.id %}
<meta property="og:type" content="article">
<meta property="og:article:author" content="{{ site.author }}">
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% else %}
<meta property="og:type" content="website">
{% endif %}
{% if page.id %}
<meta property="og:url" content="{{ page.url | absolute_url }}">