Commit 9e5a196c authored by fred's avatar fred
Browse files

add opengraph metadata for attached podcast

parent 8e22b381
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
{% if episode.subtitle %} {% if episode.subtitle %}
<meta property="og:description" content="{{ episode.subtitle }}" /> <meta property="og:description" content="{{ episode.subtitle }}" />
{% endif %} {% 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 %} {% endblock %}
{% block related %} {% block related %}
......
Supports Markdown
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