2023-04-08 22:08:53 +00:00
|
|
|
<?php
|
|
|
|
if (!isset($is_index)) {
|
|
|
|
$is_index = false;
|
|
|
|
}
|
|
|
|
?>
|
2023-03-21 17:23:14 +00:00
|
|
|
<!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('/')?>style.css">
|
2023-05-02 10:44:55 +00:00
|
|
|
<?php if ($is_index): ?>
|
|
|
|
<title>Willy's Website</title>
|
|
|
|
<?php else: ?>
|
|
|
|
<title><?=$title?> | Willy's Website</title>
|
|
|
|
<?php endif; ?>
|
2023-03-21 17:23:14 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-05-02 10:44:55 +00:00
|
|
|
<header>
|
|
|
|
<nav>
|
|
|
|
<a href="<?=url('/')?>">Willy's Website</a>
|
|
|
|
</nav>
|
|
|
|
</header>
|
2023-03-30 21:58:54 +00:00
|
|
|
<main>
|
2023-05-02 10:44:55 +00:00
|
|
|
<?php if (!$is_index): ?>
|
|
|
|
<h1><?=$title?></h1>
|
|
|
|
<?php endif; ?>
|