1234567891011121314151617181920212223242526272829303132 |
- <?php
- include "../config/config.php";
- if (!isset($config["title"]))
- $config["title"] = "Tent";
- if (isset($title)) {
- $title = $config["title"] . " · " . $title;
- } else {
- $title = $config["title"];
- };
- ?>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title><?= $title ?></title>
- <link rel="stylesheet" href="asset.php?file=style.css">
- </head>
- <body>
- <header>
- <div class="wrapper">
- <a href="."><?= $title ?></a>
- <form action="search.php">
- <input name="query" placeholder="Search...">
- </form>
- </div>
- </header>
- <main>
- <div class="wrapper">
|