Skip to content

Commit b3e3114

Browse files
committed
Remove audio section in TCB display if unavailable
1 parent 160718d commit b3e3114

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_layouts/episode.html

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ <h2>Video</h2>
5959
</li>
6060
{% endfor %}
6161
</ul>
62+
{% if page.wistia_id != nil %}
6263
<h2>Audio</h2>
6364
<script
6465
src="https://fast.wistia.com/embed/medias/{{ page.wistia_id }}.jsonp" async>
@@ -69,6 +70,7 @@ <h2>Audio</h2>
6970
<div class="wistia_embed wistia_async_{{ page.wistia_id }} seo=false"
7071
style="width:50%;height:100px;position:relative">&nbsp;
7172
</div>
73+
{% endif %}
7274

7375
{{ content }}
7476
</div> </div> </div>

0 commit comments

Comments
 (0)