Fixes #44 - menu remis dans newsletter et dans à propos mais sans le bouton pour la page active
This commit is contained in:
parent
fcf47818d0
commit
d4d1d70804
3 changed files with 16 additions and 13 deletions
|
|
@ -1,24 +1,26 @@
|
|||
|
||||
<?php if (!$page->is(page('lettre')) && !$page->is(page('a-propos'))): ?>
|
||||
<footer id="main-footer">
|
||||
<footer id="main-footer">
|
||||
<ul id="links">
|
||||
<li class="open-nav-wrapper hidden">
|
||||
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
|
||||
</li>
|
||||
<?php if (!$page->is(page('lettre'))): ?>
|
||||
<li>
|
||||
<a href="/lettre" id="subscribe-btn" class="plus">
|
||||
s'inscrire
|
||||
</a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if (!$page->is(page('a-propos'))): ?>
|
||||
<li>
|
||||
<a
|
||||
href="<?= $site->find('a-propos')->url() ?>">
|
||||
à propos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</footer>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -33,3 +33,5 @@
|
|||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php snippet('header') ?>
|
||||
<?php snippet('footer') ?>
|
||||
<main id="<?= $page->template() ?>">
|
||||
<article>
|
||||
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
|
||||
|
|
@ -15,5 +16,3 @@
|
|||
<?php endsnippet() ?>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue