Only load the player when there is an episode ID
This commit is contained in:
parent
e901f3035f
commit
455d27eef5
|
@ -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() }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue