fix html
This commit is contained in:
parent
416d8e94b3
commit
8bdd63afe2
3 changed files with 32 additions and 3 deletions
23
site/templates/email.php
Normal file
23
site/templates/email.php
Normal 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') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue