little stash...
This commit is contained in:
10
templates/base.php
Normal file
10
templates/base.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$title = 'Home';
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
<h1>Welcome</h1>
|
||||
<p>This is the homepage.</p>
|
||||
<?php
|
||||
$content = ob_get_clean();
|
||||
require_once __DIR__ . '/layout.php';
|
||||
Reference in New Issue
Block a user