Commit 9e5a196c authored by fred's avatar fred

add opengraph metadata for attached podcast

parent 8e22b381
......@@ -12,6 +12,10 @@
{% if episode.subtitle %}
<meta property="og:description" content="{{ episode.subtitle }}" />
{% endif %}
{% if episode.main_sound %}
<meta property="og:audio" content="{{ episode.main_sound|format_url:'ogg' }}"/>
<meta property="og:audio:type" content="audio/ogg"/>
{% 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