mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-25 13:37:18 +02:00
- add About podcast page - use different layout for episode pages - improve on user feedback with design - restructure app theme folders - update js packages to latest versions
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?= $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') ?>
|
|
<nav class="py-2">
|
|
<a href="<?= route_to('podcast-activity', $podcast->handle) ?>"
|
|
class="inline-flex items-center px-4 py-2 text-sm"><?= icon(
|
|
'arrow-left',
|
|
'mr-2 text-lg',
|
|
) .
|
|
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,
|
|
]) ?>
|
|
</div>
|
|
<?= $this->endSection() ?>
|