This commit is contained in:
isUnknown 2025-02-04 10:12:01 +01:00
parent 416d8e94b3
commit 8bdd63afe2
3 changed files with 32 additions and 3 deletions

23
site/templates/email.php Normal file
View file

@ -0,0 +1,23 @@
<?php snippet('header') ?>
<main id="<?= $page->template() ?>">
<article>
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
<?php slot('title') ?>
<h1 class="main-title"><?= $page->title() ?></h1>
<?php if ($page->published()->isNotEmpty()): ?>
<p>
<span class="light">envoyée le </span><?= $page->published()->toDate('d/m/Y') ?>
</p>
<?php endif ?>
<?php endslot() ?>
<?php endsnippet() ?>
<div id="main-content">
<?= $page->body() ?>
</div>
</article>
</main>
<?php snippet('footer') ?>