2021-10-13 17:43:40 +02:00
|
|
|
<?= $this->extend('episode/_layout') ?>
|
2021-08-13 18:07:45 +02:00
|
|
|
|
|
|
|
<?= $this->section('meta-tags') ?>
|
|
|
|
<title><?= lang('Comment.title', [
|
|
|
|
'actorDisplayName' => $comment->actor->display_name,
|
|
|
|
]) ?></title>
|
|
|
|
<meta name="description" content="<?= $comment->message ?>"/>
|
|
|
|
<meta property="og:title" content="<?= lang('Comment.title', [
|
|
|
|
'actorDisplayName' => $comment->actor->display_name,
|
|
|
|
]) ?>"/>
|
|
|
|
<meta property="og:locale" content="<?= service(
|
|
|
|
'request',
|
|
|
|
)->getLocale() ?>" />
|
|
|
|
<meta property="og:site_name" content="<?= $comment->actor->display_name ?>" />
|
|
|
|
<meta property="og:url" content="<?= current_url() ?>" />
|
|
|
|
<meta property="og:image" content="<?= $comment->actor->avatar_image_url ?>" />
|
|
|
|
<meta property="og:description" content="<?= $comment->message ?>" />
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<div class="max-w-2xl px-6 mx-auto">
|
2021-10-22 15:11:33 +02:00
|
|
|
<nav class="mb-2">
|
2021-08-13 18:07:45 +02:00
|
|
|
<a href="<?= route_to('episode', $podcast->handle, $episode->slug) ?>"
|
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-22 12:51:43 +02:00
|
|
|
) . lang('Comment.back_to_comments') ?></a>
|
2021-08-13 18:07:45 +02:00
|
|
|
</nav>
|
|
|
|
<div class="pb-12">
|
2021-10-13 17:43:40 +02:00
|
|
|
<?= $this->include('episode/_partials/comment_with_replies') ?>
|
2021-08-13 18:07:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?= $this->endSection()
|
|
|
|
?>
|