Merge pull request 'Fix Podcast' (#129) from fix-podcast into main

Reviewed-on: ag_kommunikation/webseite#129
This commit is contained in:
muli 2022-09-03 16:52:48 +02:00
commit 8ff500f749
2 changed files with 4 additions and 3 deletions

View File

@ -45,4 +45,4 @@ podcastmp3: WTF_S03E01.mp3
---
oggleng: 16820322
---
pocastogg: WTF_S03E01.ogg
podcastogg: WTF_S03E01.ogg

View File

@ -48,8 +48,8 @@
{%- endif %}
Your browser does not support the audio element.
</audio>
<br/>
{% if episode.podcastmp3 -%}
<br/>
<a class="" href="{{ episode.podcastmp3|url(alt='de') }}" download>
{%- if episode.podcasttitle -%}
{{ episode.podcasttitle }}
@ -60,6 +60,7 @@
</a>
{% endif %}
{% if episode.podcastogg -%}
<br/>
<a class="" href="{{ episode.podcastogg|url(alt='de') }}" download>
{%- if episode.podcasttitle -%}
{{ episode.podcasttitle }}
@ -68,7 +69,7 @@
{%- endif -%}
{{ ' als OGG' }}
</a>
{% endif %}<br/>
{% endif %}
</div>
{% endif %}
</div>