fix stuff; sound inline in admin

This commit is contained in:
bkfox
2020-09-16 15:12:05 +02:00
parent 35e7e407e7
commit 361cf88bb2
8 changed files with 36 additions and 64 deletions

View File

@ -3,9 +3,11 @@ List item for a podcast.
{% endcomment %}
<div class="podcast">
{# comment #}
{% if object.embed %}
{{ object.embed|safe }}
{% else %}
{# endcomment #}
<audio src="{{ object.url }}" controls>
{% endif %}
</div>