agnes-dot-love-pureblog/404.php

24 lines
638 B
PHP
Raw Normal View History

2026-11-18 03:01:10 +00:00
<?php
declare(strict_types=1);
require_once __DIR__ . '/functions.php';
require_setup_redirect();
$config = load_config();
$fontStack = font_stack_css($config['theme']['font_stack'] ?? 'sans');
$pageTitle = t('frontend.page_not_found');
$metaDescription = '';
http_response_code(404);
require __DIR__ . '/includes/header.php';
render_masthead_layout($config, ['page' => $page ?? null, 'is404' => true]);
?>
<main>
<h1><?= e(t('frontend.page_not_found')) ?></h1>
<p><?= e(t('frontend.page_not_found_detail')) ?></p>
</main>
<?php render_footer_layout($config, ['page' => $page ?? null]); ?>
</body>
</html>