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

- update CI process to include quality stage (tests + code review) - add captainhook to install git pre-commit & pre-push hooks - remove .devcontainer Dockerfile to use project's docker-compose services: all services can now be started automatically using vscode - update docs/setup-development.md
37 lines
1.4 KiB
PHP
37 lines
1.4 KiB
PHP
<?= helper('page') ?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?= service('request')->getLocale() ?>">
|
|
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title><?= $page->title ?></title>
|
|
<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="py-8 text-white border-b bg-pine-900">
|
|
<div class="container flex flex-col px-2 py-4 mx-auto">
|
|
<a href="<?= route_to('home') ?>"
|
|
class="inline-flex items-center mb-2"><?= icon(
|
|
'arrow-left',
|
|
'mr-2',
|
|
) . lang('Page.back_to_home') ?></a>
|
|
<h1 class="text-3xl font-semibold"><?= $page->title ?></h1>
|
|
</div>
|
|
</header>
|
|
<main class="container flex-1 px-4 py-10 mx-auto">
|
|
<div class="prose">
|
|
<?= $page->content_html ?>
|
|
</div>
|
|
</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>
|