new nav buttons
This commit is contained in:
parent
7e21e1ffb7
commit
92625d2fb9
11 changed files with 552 additions and 39 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<main id="<?= $page->template() ?>">
|
||||
<main>
|
||||
<?php snippet('cover', slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h2 class="title-center">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue