e949/front/head.php

26 lines
528 B
PHP
Raw Normal View History

2023-12-20 08:38:13 +05:30
<meta charset="UTF-8">
<?php
// <head> ... </head>
if (!isset($PAGE_TITLE)) {
http_response_code(500);
die("\$PAGE_TITLE not set");
}
echo "<title>E949: $PAGE_TITLE</title>\n";
require_once("favicon.html");
?>
2023-12-20 08:38:13 +05:30
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="front/styles/base.css">
<link rel="stylesheet" href="front/styles/footer.css">
<?php
// Include custom page style, if exists
if (isset($PAGE_STYLE)) {
echo "<link rel=\"stylesheet\" href=\"$PAGE_STYLE\">";
}
?>