2024-04-10 14:55:34 +02:00
|
|
|
<?php
|
|
|
|
|
$entryTopPos = $entryTopPos ?? 20;
|
|
|
|
|
?>
|
2024-01-25 18:34:32 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
2024-04-10 15:43:45 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2024-01-25 18:34:32 +01:00
|
|
|
<title><?= $site->title() ?><?= e($page->url() !== $site->url(), '-' . $page->title()) ?></title>
|
2024-04-15 13:43:57 +02:00
|
|
|
|
2024-04-06 10:08:45 +02:00
|
|
|
<link rel="stylesheet" href="<?= url('assets/css/style.css') . '?version-cache-prevent' . rand(0, 1000) ?>" />
|
2024-04-15 13:43:57 +02:00
|
|
|
|
2024-04-07 12:24:40 +02:00
|
|
|
<script src="<?= url('assets') ?>/js/script.js?version-cache-prevent<?= rand(0, 1000)?>" defer></script>
|
2024-04-11 12:46:12 +02:00
|
|
|
<script defer src="<?= url('assets/js/alpine.min.js') ?>"></script>
|
2024-04-15 09:00:12 +02:00
|
|
|
<script defer src="<?= url('assets/js/ragadjust.js') ?>"></script>
|
2024-04-15 13:43:57 +02:00
|
|
|
|
2024-04-07 07:29:27 +02:00
|
|
|
<meta name="robots" content="noindex, nofollow, noarchive">
|
2024-09-05 08:28:00 +02:00
|
|
|
|
|
|
|
|
<?php if ($page->template() == 'linear' || $page->template() == 'grid'): ?>
|
|
|
|
|
<script type="application/ld+json">
|
|
|
|
|
{
|
|
|
|
|
"@context":"https://schema.org",
|
|
|
|
|
"@type":"NewsArticle",
|
|
|
|
|
"headline":"<?= $page->title() ?>",
|
|
|
|
|
"author":[{"@type": "Person","name": "<?= $page->author() ?>"}],
|
|
|
|
|
"image":"<?= url('assets/images/logo.png') ?>",
|
2024-10-16 08:53:53 +02:00
|
|
|
"description":"<?= $page->title() ?>, par <?= $page->author()->toPage()->title() ?>. Publié le <?= $page->published()->toDate('d/m/Y') ?> dans <?= $page->parent()->title() ?>/<?= $page->category() ?>",
|
2024-09-05 08:28:00 +02:00
|
|
|
"datePublished":"<?= $page->published()->toDate('Y-m-d') ?>",
|
|
|
|
|
"dateModified":"<?= $page->modified('Y-m-d') ?>",
|
|
|
|
|
"url":"<?= $page->url() ?>",
|
|
|
|
|
"mainEntityOfPage":{"@type":"WebPage","@id":"<?= $page->url() ?>"},
|
|
|
|
|
"publisher":{"@type":"Organization","name":"actuel - inactuel"}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<?php endif ?>
|
2024-01-25 18:34:32 +01:00
|
|
|
</head>
|
2024-04-15 18:13:03 +02:00
|
|
|
<body class="background-grid <?= e($page->fullWidth() == 'true', 'full-width') ?>" data-template="<?= $page->template() ?>" >
|
2024-04-07 11:09:43 +02:00
|
|
|
<header id="main-header">
|
2024-11-26 09:53:05 +01:00
|
|
|
<a id="logo" href="/" class="no-line">
|
|
|
|
|
<h1>
|
|
|
|
|
<span id="actuel">actuel</span>
|
|
|
|
|
<span id="inactuel">inactuel</span>
|
|
|
|
|
</h1>
|
|
|
|
|
</a>
|
2024-04-10 14:55:34 +02:00
|
|
|
</header>
|
2024-06-20 09:50:39 +02:00
|
|
|
<?php snippet('nav') ?>
|