Make article:author OpenGraph compatible

OpenGraph actually needs a profile URL as value to article:author.
We point it to the author's page and adjust the OG meta tags on
author.html to include the relevant profile information.
This commit is contained in:
Mr. Senko
2016-03-31 23:55:19 +03:00
parent 911b8ec25c
commit 5a83a4575d
3 changed files with 10 additions and 3 deletions

View File

@ -59,7 +59,7 @@
{{ super() }}
<meta property="og:type" content="article">
{% for author in article.authors %}
<meta property="article:author" content="{{ author }}" >
<meta property="article:author" content="{{ SITEURL }}/{{ author.url }}">
{% endfor %}
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}">
<meta property="og:title" content="{{ article.title }}">