add some open graph protocol header stuff

This commit is contained in:
2021-02-25 00:49:13 -08:00
parent 8131883f21
commit de42193d3d
3 changed files with 17 additions and 3 deletions

View File

@ -1,4 +1,13 @@
{% extends "base.html" %}
{% block morehead %}
{% if is_episode %}
<meta property="og:title" content="{{ ogtitle }}" />
<meta property="og:url" content="{{ ogurl }}" />
<meta property="og:audio" content="{{ MP3_URL }}{{ ogmp3 }}" />
<meta property="og:audio:secure" content="{{ MP3_URL }}{{ ogmp3 }}" />
<meta property="og:audio:type" content="audio/mpeg" />
{% endif %}
{% endblock morehead %}
{% block content %}
{% include "base_navbar.html" %}