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,16 +9,18 @@
{% endblock %}
{% block content_wrapper %}
<div>
<iframe
width="100%"
height="180"
frameborder="no"
scrolling="no"
seamless=""
src="https://share.transistor.fm/e/{{ page.transistor.id }}">
</iframe>
</div>
{% if transistor.id %}
<div>
<iframe
width="100%"
height="180"
frameborder="no"
scrolling="no"
seamless=""
src="https://share.transistor.fm/e/{{ page.transistor.id }}">
</iframe>
</div>
{% endif %}
{{ parent() }}