mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-08 19:59:20 +02:00
- refactor meta-tags by generating them in the controller and injecting them into the views - use `melbahja/seo` library to build opengraph and twitter meta-tags + schema.org objects
22 lines
598 B
PHP
22 lines
598 B
PHP
<?= $this->extend('podcast/_layout') ?>
|
|
|
|
<?= $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 focus:ring-accent"><?= 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() ?>
|