Enthält auch User-Upgrade: JSON-LD als @graph mit seitenspezifischen Extra-Knoten Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
26 lines
634 B
PHP
26 lines
634 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* Master-Shell. Erwartet: $meta (array), $content (string), $current (Slug der aktiven Route).
|
|
*/
|
|
?>
|
|
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<?php component('meta', ['meta' => $meta, 'current' => $current]); ?>
|
|
</head>
|
|
<body>
|
|
<a class="skip-link" href="#main">Zum Inhalt springen</a>
|
|
<?php component('header', ['current' => $current]); ?>
|
|
<main id="main" tabindex="-1">
|
|
<?= $content ?>
|
|
</main>
|
|
<?php component('footer'); ?>
|
|
<a class="back-to-top" href="#main" hidden>
|
|
<?= icon('arrow-up') ?><span class="visually-hidden">Zurück nach oben</span>
|
|
</a>
|
|
</body>
|
|
</html>
|