Initial commit

This commit is contained in:
2022-11-15 09:23:20 +01:00
commit 22127b8702
13 changed files with 369 additions and 0 deletions

3
views/home.php Normal file
View File

@@ -0,0 +1,3 @@
<?php $params['title'] = 'Home'; ?>
<h1>Hello world!</h1>
<?= var_dump($params) ?>

10
views/layout.php Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= $viewsArgs['title'] ?? 'Is it a blog?' ?></title>
</head>
<body>
<?= $content ?>
</body>
</html>