Add podcast pages

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent 484d18bc3a
commit 7d29cf1472
10 changed files with 331 additions and 2 deletions

View file

@ -0,0 +1,36 @@
{% extends 'page' %}
{% block page_title %}
{% set episodeNumber = page.url|trim('/')|split('/')|last|split('-')|first %}
Episode {{ episodeNumber }}:
{{ page.topic }}
with {{ page.guests.0 }}
{% 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>
{{ parent() }}
<div>
<h2>Links</h2>
<ul>
{% for link in page.links %}
<li>
<a href="{{ link.1 }}">{{ link.0 }}</a>
</li>
{% endfor %}
<ul>
</div>
{% endblock %}