mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-22 15:35:10 +00:00

- refactor episode, podcast and category entities to add dynamic properties - refactor Routes when adding feed route - update migration files to better fit itunes' and rss' specs - update podcast and episode forms - add SimpleRSSElement class to Libraries - add rss_helper - update home controller to redirect if system has only one podcast
17 lines
589 B
PHP
17 lines
589 B
PHP
<?= $this->extend('layouts/default') ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<a class="underline hover:no-underline" href="<?= route_to(
|
|
'podcast_view',
|
|
$podcast->name
|
|
) ?>">< <?= lang('Episode.back_to_podcast') ?></a>
|
|
<h1 class="text-2xl font-semibold"><?= $episode->title ?></h1>
|
|
<img src="<?= $episode->image_url ?>" alt="Episode cover" class="object-cover w-40 h-40 mb-6" />
|
|
<audio controls preload="none">
|
|
<source src="<?= $episode->enclosure_url ?>" type="<?= $episode->enclosure_type ?>">
|
|
Your browser does not support the audio tag.
|
|
</audio>
|
|
|
|
<?= $this->endSection() ?>
|