Commit dd2481ff authored by Annika Backstrom's avatar Annika Backstrom

Fix OG tags

"name" should be "property"
parent b26c16e9
......@@ -17,12 +17,12 @@
{% endif %}
{% endif %}
<meta name="og:type" content="article">
<meta name="og:title" content="{{ article.title|e }}">
<meta name="og:description" content="{{ article.summary|striptags|e }}">
<meta name="og:url" content="{{ SITEURL }}/{{ article.url }}">
<meta property="og:type" content="article">
<meta property="og:title" content="{{ article.title|e }}">
<meta property="og:description" content="{{ article.summary|striptags|e }}">
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}">
{% if article["meta-image-square"] %}
<meta name="og:image" content="{{ SITEURL }}{{ article["meta-image-square"] }}">
<meta property="og:image" content="{{ SITEURL }}{{ article["meta-image-square"] }}">
{% endif %}
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment