improve home

This commit is contained in:
isUnknown 2024-12-01 12:37:11 +01:00
parent 8e09bceb02
commit 4c5b7677d7
4 changed files with 20 additions and 12 deletions

View file

@ -36,7 +36,7 @@ $entryTopPos = $entryTopPos ?? 20;
</head>
<body class="background-grid <?= e($page->fullWidth() == 'true', 'full-width') ?>" data-template="<?= $page->template() ?>" >
<header id="main-header">
<a id="logo" href="<?= $site->url() ?>" class="no-underline" title="aller à l'accueil">
<a id="logo" href="<?= e($page->isHomePage(), '#main-edito', $site->url()) ?>" class="no-underline" title="<?= e($page->isHomePage(), 'lire l\'éditorial', 'aller à l\'accueil') ?>">
<h1>
<span id="actuel">actuel</span>
<span id="inactuel">inactuel</span>