2021-10-13 15:43:40 +00:00
|
|
|
<?= $this->extend('episode/_layout') ?>
|
2021-08-13 16:07:45 +00: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 13:11:33 +00:00
|
|
|
<nav class="mb-2">
|
2021-08-13 16:07:45 +00:00
|
|
|
<a href="<?= route_to('episode', $podcast->handle, $episode->slug) ?>"
|
2021-11-05 14:36:34 +00:00
|
|
|
class="inline-flex items-center px-4 py-2 text-sm focus:ring-accent"><?= icon(
|
2021-09-08 15:51:33 +00:00
|
|
|
'arrow-left',
|
|
|
|
'mr-2 text-lg',
|
2021-10-22 10:51:43 +00:00
|
|
|
) . lang('Comment.back_to_comments') ?></a>
|
2021-08-13 16:07:45 +00:00
|
|
|
</nav>
|
|
|
|
<div class="pb-12">
|
2021-10-13 15:43:40 +00:00
|
|
|
<?= $this->include('episode/_partials/comment_with_replies') ?>
|
2021-08-13 16:07:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?= $this->endSection()
|
|
|
|
?>
|