2021-08-13 13:07:29 +02:00
|
|
|
<?= $this->extend('podcast/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('meta-tags') ?>
|
|
|
|
<title><?= lang('Post.title', [
|
|
|
|
'actorDisplayName' => $post->actor->display_name,
|
|
|
|
]) ?></title>
|
|
|
|
<meta name="description" content="<?= $post->message ?>"/>
|
|
|
|
<meta property="og:title" content="<?= lang('Post.title', [
|
|
|
|
'actorDisplayName' => $post->actor->display_name,
|
|
|
|
]) ?>"/>
|
|
|
|
<meta property="og:locale" content="<?= service(
|
|
|
|
'request',
|
|
|
|
)->getLocale() ?>" />
|
|
|
|
<meta property="og:site_name" content="<?= $post->actor->display_name ?>" />
|
|
|
|
<meta property="og:url" content="<?= current_url() ?>" />
|
|
|
|
<meta property="og:image" content="<?= $post->actor->avatar_image_url ?>" />
|
|
|
|
<meta property="og:description" content="<?= $post->message ?>" />
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
2021-10-13 17:43:40 +02:00
|
|
|
<nav class="py-2">
|
|
|
|
<a href="<?= route_to('podcast-activity', $podcast->handle) ?>"
|
2021-11-05 15:36:34 +01:00
|
|
|
class="inline-flex items-center px-4 py-2 text-sm focus:ring-accent"><?= icon(
|
2021-09-08 17:51:33 +02:00
|
|
|
'arrow-left',
|
|
|
|
'mr-2 text-lg',
|
|
|
|
) .
|
2021-10-13 17:43:40 +02:00
|
|
|
lang('Post.back_to_actor_posts', [
|
|
|
|
'actor' => $post->actor->display_name,
|
|
|
|
]) ?></a>
|
|
|
|
</nav>
|
|
|
|
<div class="pb-12">
|
|
|
|
<?= view('post/_partials/post_with_replies', [
|
|
|
|
'index' => 1,
|
|
|
|
'post' => $post,
|
|
|
|
'podcast' => $podcast,
|
|
|
|
]) ?>
|
2021-08-13 13:07:29 +02:00
|
|
|
</div>
|
2021-10-13 17:43:40 +02:00
|
|
|
<?= $this->endSection() ?>
|