fix body front
This commit is contained in:
parent
7f4eb816c1
commit
60709ab632
2 changed files with 18 additions and 24 deletions
|
|
@ -13,25 +13,19 @@ $isOpen ??= false;
|
|||
<?= $slots->text() ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<ul class="links">
|
||||
<?php if ($page->is(page('lettre'))): ?>
|
||||
<li>
|
||||
<a href="<?= $site->url() ?>">
|
||||
accueil
|
||||
</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li>
|
||||
<a href="/lettre" id="subscribe-btn" class="plus">
|
||||
s'inscrire
|
||||
</a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li>
|
||||
<a
|
||||
href="<?= $site->find('a-propos')->url() ?>">
|
||||
à propos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php if ($page->isHomePage()): ?>
|
||||
<ul class="links">
|
||||
<li>
|
||||
<a href="/lettre" id="subscribe-btn" class="plus">
|
||||
s'inscrire
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="<?= $site->find('a-propos')->url() ?>">
|
||||
à propos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php endif ?>
|
||||
</header>
|
||||
|
|
@ -29,10 +29,10 @@
|
|||
<?= $page->chapo() ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php if ($page->isHtmlMode()): ?>
|
||||
<?= $page->htmlBody()->kt() ?>
|
||||
<?php if ($page->isHtmlMode()->isTrue()): ?>
|
||||
<?= $page->htmlBody()->kt() ?>
|
||||
<?php else: ?>
|
||||
<?= $page->body() ?>
|
||||
<?= $page->body() ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue