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">
|
<ul id="links">
|
||||||
<li class="open-nav-wrapper hidden">
|
<li class="open-nav-wrapper hidden">
|
||||||
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
|
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
|
||||||
</li>
|
</li>
|
||||||
|
<?php if (!$page->is(page('lettre'))): ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="/lettre" id="subscribe-btn" class="plus">
|
<a href="/lettre" id="subscribe-btn" class="plus">
|
||||||
s'inscrire
|
s'inscrire
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php endif ?>
|
||||||
|
<?php if (!$page->is(page('a-propos'))): ?>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href="<?= $site->find('a-propos')->url() ?>">
|
href="<?= $site->find('a-propos')->url() ?>">
|
||||||
à propos
|
à propos
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
|
||||||
</footer>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
</ul>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -33,3 +33,5 @@
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
<?php snippet('footer') ?>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php snippet('header') ?>
|
<?php snippet('header') ?>
|
||||||
|
<?php snippet('footer') ?>
|
||||||
<main id="<?= $page->template() ?>">
|
<main id="<?= $page->template() ?>">
|
||||||
<article>
|
<article>
|
||||||
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
|
<?php snippet('cover', array('isOpen' => true), slots: true) ?>
|
||||||
|
|
@ -15,5 +16,3 @@
|
||||||
<?php endsnippet() ?>
|
<?php endsnippet() ?>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<?php snippet('footer') ?>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue