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 oggleng: 16820322
--- ---
pocastogg: WTF_S03E01.ogg podcastogg: WTF_S03E01.ogg

View File

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