Only load the player when there is an episode ID

This commit is contained in:
Oliver Davies 2024-01-10 00:44:45 +00:00
parent e901f3035f
commit 455d27eef5

View file

@ -9,6 +9,7 @@
{% endblock %} {% endblock %}
{% block content_wrapper %} {% block content_wrapper %}
{% if transistor.id %}
<div> <div>
<iframe <iframe
width="100%" width="100%"
@ -19,6 +20,7 @@
src="https://share.transistor.fm/e/{{ page.transistor.id }}"> src="https://share.transistor.fm/e/{{ page.transistor.id }}">
</iframe> </iframe>
</div> </div>
{% endif %}
{{ parent() }} {{ parent() }}