back : add main pages

This commit is contained in:
isUnknown 2025-10-07 16:21:26 +02:00
parent 73668b049f
commit 85a3f0f7be
15 changed files with 60 additions and 0 deletions

15
site/snippets/header.php Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?= url('assets/style.css') ?>?version-cache-prevent<?= rand(0, 1000)?>">
<title>
<?php if ($page->isHomePage() == false): ?>
<?= $page->title() ?>&nbsp;|&nbsp;
<?php endif ?>
<?= $site->title() ?>
</title>
</head>
<body data-template="<?= $page->template() ?>">