mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

feat: rename ?s to ?_from to match podcastindex recommendation feat: adust map height feat: display pie chart on 1 column for small and medium screens feat: handle empty rss user agent fix: correct bug when importing episode with empty image fix: add service to FakePodcastsAnalyticsSeeder, resize pie charts so that all lines fit fix: set page title to ->title when it exists fix: replace %20 with + closes #37
33 lines
1.3 KiB
PHP
33 lines
1.3 KiB
PHP
<?= helper('page') ?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?= service('request')->getLocale() ?>">
|
|
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title><?= $this->renderSection('title') ?></title>
|
|
<meta name="description" content="Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience."/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
|
|
<link rel="stylesheet" href="/assets/index.css"/>
|
|
</head>
|
|
|
|
<body class="flex flex-col min-h-screen mx-auto">
|
|
<header class="border-b">
|
|
<div class="container flex items-center justify-between px-2 py-4 mx-auto">
|
|
<a href="<?= route_to('home') ?>" class="text-2xl"><?= isset($page)
|
|
? $page->title
|
|
: 'Castopod' ?></a>
|
|
</div>
|
|
</header>
|
|
<main class="container flex-1 px-4 py-10 mx-auto">
|
|
<?= $this->renderSection('content') ?>
|
|
</main>
|
|
<footer class="container flex justify-between px-2 py-4 mx-auto text-sm text-right border-t">
|
|
<?= render_page_links() ?>
|
|
<small><?= lang('Common.powered_by', [
|
|
'castopod' =>
|
|
'<a class="underline hover:no-underline" href="https://castopod.org/" target="_blank" rel="noreferrer noopener">Castopod</a>',
|
|
]) ?></small>
|
|
</footer>
|
|
</body>
|