L'ancien dépot du générateur de sites d'Antopie https://antopie.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

64 lines
1.9 KiB

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title><?php echo $pageMetas['titre'] . $suffix; ?></title>
<meta name="distribution" content="global">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $pageMetas['description']; ?>">
<?php
require_once 'bibli/less.php/lib/Less/Autoloader.php';
Less_Autoloader::register();
$options = array('cache_dir' => SITE . '/css', 'compress' => true);
$lessFiles = array('style.less' => '');
$cssFileName = Less_Cache::Get($lessFiles, $options);
?>
<link type="text/css" rel="stylesheet" href="css/<?= $cssFileName ?>">
<?php if (SITE == "antopie") { ?>
<link rel="icon" type="image/webp" href="img/icons/16.webp" sizes="16x16">
<link rel="icon" type="image/webp" href="img/icons/32.webp" sizes="32x32">
<link rel="icon" type="image/webp" href="img/icons/64.webp" sizes="64x64">
<link rel="icon" type="image/webp" href="img/icons/128.webp" sizes="128x128">
<link rel="icon" type="image/webp" href="img/icons/256.webp" sizes="256x256">
<link rel="icon" type="image/webp" href="img/icons/512.webp" sizes="512x512">
<link rel="stylesheet" type="text/css" href="gomez/gomez.min.css">
<link rel="stylesheet" type="text/css" href="fontello/css/fontello.min.css">
<script src="konami.js" async defer></script>
<?php } ?>
</head>
<body lang="fr">
<header>
<?php
if (SITE == "docs") {
?>
<a id="lienHeader" href=".">
<div class="logo"><?= SITE ?></div>
</a>
<?php
} else if (SITE == "antopie") {
?>
<a id="lienHeader" href=".">
<div class="logo">
<img src="img/antopiev5-500.webp" alt="Antopie" />
</div>
</a>
<?php
} else {
exit("Site indéfinit");
}
?>
</header>
<main>