new nav buttons

This commit is contained in:
isUnknown 2024-04-07 11:09:43 +02:00
parent 7e21e1ffb7
commit 92625d2fb9
11 changed files with 552 additions and 39 deletions

View file

@ -1,6 +1,6 @@
<?php snippet('header') ?>
<main id="<?= $page->template() ?>">
<main>
<?php snippet('cover', slots: true) ?>
<?php slot('title') ?>
<h2 class="title-center">

View file

@ -18,12 +18,7 @@
</p>
<?php endslot() ?>
<?php endsnippet() ?>
<?php snippet('tabs', [
'left' => [
'label' => 'édito ' . $page->parent()->title(),
'content' => $page->parent()->edito()
],
]) ?>
<?php snippet('nav') ?>
<?= $page->body() ?>
</article>
</main>