mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-28 14:37:19 +02:00
- add pages migration, model and entity - add page controllers - update routes config to input page forms and page view in public - fix markdow editor focus area - show pages links in public side footer closes #24
30 lines
857 B
PHP
30 lines
857 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= $episode->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<a class="underline hover:no-underline" href="<?= route_to(
|
|
'podcast',
|
|
$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" class="mb-12">
|
|
<source src="<?= $episode->enclosure_url ?>" type="<?= $episode->enclosure_type ?>">
|
|
Your browser does not support the audio tag.
|
|
</audio>
|
|
|
|
<<<<<<< HEAD
|
|
<?= $this->endSection()
|
|
?>
|
|
=======
|
|
<section class="prose">
|
|
<?= $episode->description_html ?>
|
|
</section>
|
|
|
|
<?= $this->endSection() ?>
|
|
>>>>>>> 240f1d4... feat: enhance ui using javascript in admin area
|