Initial commit
This commit is contained in:
3
views/home.php
Normal file
3
views/home.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php $params['title'] = 'Home'; ?>
|
||||
<h1>Hello world!</h1>
|
||||
<?= var_dump($params) ?>
|
10
views/layout.php
Normal file
10
views/layout.php
Normal 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>
|
Reference in New Issue
Block a user