2024-03-09 11:27:10 +01:00
|
|
|
<?php snippet('header') ?>
|
|
|
|
|
<header id="header" class="minimized">
|
|
|
|
|
<div id="logo" >
|
|
|
|
|
<a href="/" class="no-line">
|
|
|
|
|
<h2 id="actuel">actuel</h2>
|
|
|
|
|
<h2 id="inactuel">inactuel</h2>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
<main id="<?= $page->template() ?>">
|
2024-03-09 16:34:09 +01:00
|
|
|
<article>
|
|
|
|
|
<div class="article-header">
|
|
|
|
|
<h1 class="main-title title-center <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
|
|
|
|
|
<p>Par <a href="/auteur/<?= Str::slug($page->author()->toUser()->name()) ?>" title="Voir les articles d'<?= $page->author()->toUser()->name() ?>"><?= $page->author()->toUser()->name() ?></a></p>
|
|
|
|
|
</div>
|
2024-03-09 11:27:10 +01:00
|
|
|
<?php snippet('tabs', [
|
|
|
|
|
'left' => [
|
|
|
|
|
'label' => 'Édito ' . $page->parent()->title(),
|
|
|
|
|
'content' => $page->parent()->edito()
|
|
|
|
|
]
|
|
|
|
|
]) ?>
|
2024-03-09 16:34:09 +01:00
|
|
|
</article>
|
2024-03-09 11:27:10 +01:00
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
<?php snippet('footer') ?>
|