Commit b26c16e9 authored by Annika Backstrom's avatar Annika Backstrom

Add Open Graph meta tags

parent b492c194
......@@ -16,6 +16,15 @@
<meta name="twitter:image" content="{{ SITEURL }}{{ article["meta-image-square"] }}">
{% 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 }}">
{% if article["meta-image-square"] %}
<meta name="og:image" content="{{ SITEURL }}{{ article["meta-image-square"] }}">
{% endif %}
{% endblock %}
{% block content %}
......
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