Commit 3317d11a authored by fred's avatar fred
Browse files

add og:description metadata for emissions and episodes

parent 09aaf7cf
......@@ -10,6 +10,9 @@
{% if emission.image %}
<meta property="og:image" content="{{ emission.image.url }}" />
{% endif %}
{% if emission.subtitle %}
<meta property="og:description" content="{{ emission.subtitle }}" />
{% endif %}
{% endblock %}
{% block toptitle %}
......
......@@ -11,6 +11,9 @@
{% elif episode.emission.image %}
<meta property="og:image" content="{{ episode.emission.image.url }}" />
{% endif %}
{% if episode.subtitle %}
<meta property="og:description" content="{{ episode.subtitle }}" />
{% endif %}
{% endblock %}
{% block related %}
......
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