2021-04-02 17:20:02 +00:00
|
|
|
<?= $this->extend('podcast/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('meta-tags') ?>
|
|
|
|
<link type="application/rss+xml" rel="alternate" title="<?= $podcast->title ?>" href="<?= $podcast->feed_url ?>"/>
|
|
|
|
|
|
|
|
<title><?= $podcast->title ?></title>
|
|
|
|
<meta name="description" content="<?= htmlspecialchars(
|
|
|
|
$podcast->description,
|
|
|
|
) ?>" />
|
|
|
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
|
|
|
<link rel="canonical" href="<?= current_url() ?>" />
|
|
|
|
<meta property="og:title" content="<?= $podcast->title ?>" />
|
|
|
|
<meta property="og:description" content="<?= $podcast->description ?>" />
|
|
|
|
<meta property="og:locale" content="<?= $podcast->language_code ?>" />
|
|
|
|
<meta property="og:site_name" content="<?= $podcast->title ?>" />
|
|
|
|
<meta property="og:url" content="<?= current_url() ?>" />
|
|
|
|
<meta property="og:image" content="<?= $podcast->image->large_url ?>" />
|
2021-09-08 15:51:33 +00:00
|
|
|
<meta property="og:image:width" content="<?= config('Images')
|
|
|
|
->largeSize ?>" />
|
|
|
|
<meta property="og:image:height" content="<?= config('Images')
|
|
|
|
->largeSize ?>" />
|
2021-04-02 17:20:02 +00:00
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
2021-08-09 10:28:16 +00:00
|
|
|
|
2021-09-08 15:51:33 +00:00
|
|
|
<?= service('vite')
|
|
|
|
->asset('styles/index.css', 'css') ?>
|
2021-04-02 17:20:02 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2021-10-04 15:56:43 +00:00
|
|
|
<section class="max-w-2xl mx-auto space-y-8">
|
2021-10-05 11:03:29 +00:00
|
|
|
|
2021-08-13 11:07:29 +00:00
|
|
|
<?php foreach ($posts as $post): ?>
|
|
|
|
<?php if ($post->reblog_of_id !== null): ?>
|
2021-04-02 17:20:02 +00:00
|
|
|
<?= view('podcast/_partials/reblog', [
|
2021-09-15 15:58:21 +00:00
|
|
|
'post' => $post->reblog_of_post,
|
|
|
|
'podcast' => $podcast,
|
|
|
|
]) ?>
|
2021-04-02 17:20:02 +00:00
|
|
|
<?php else: ?>
|
2021-09-08 15:51:33 +00:00
|
|
|
<?= view('podcast/_partials/post', [
|
2021-09-15 15:58:21 +00:00
|
|
|
'post' => $post,
|
|
|
|
'podcast' => $podcast,
|
|
|
|
]) ?>
|
2021-04-02 17:20:02 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|