This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
web/inc/debut.php

36 lines
964 B
PHP
Executable File

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title><?php
if (isset($title) AND !is_null($title))
echo $title . " · " . SITE_TITLE;
else
echo SITE_TITLE;
?></title>
<meta name="distribution" content="global">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/css/<?= CSS_FILENAME ?>">
<?php
if (file_exists(SITE . "/head.inc.html"))
echo file_get_contents(SITE . "/head.inc.html");
?>
</head>
<body>
<header>
<a id="lienHeader" href="/">
<div class="logo">
<?php
if (file_exists(SITE . "/img/logo.webp"))
echo '<img src="img/logo.webp" ' . getimagesize(SITE . "/img/logo.webp")[3] . ' alt="' . SITE_TITLE . '" />';
else
echo SITE_TITLE;
?>
</div>
</a>
</header>
<main>