fix #31
This commit is contained in:
parent
b4217f80d4
commit
0766e64b96
4 changed files with 37 additions and 41 deletions
|
|
@ -1,31 +1,24 @@
|
|||
<?php if ($page->isHomePage()): ?>
|
||||
<footer id="main-footer">
|
||||
<ul id="links">
|
||||
<!-- <li class="open-nav-wrapper">
|
||||
<button class="plus open-nav" title="chercher parmi les textes">textes</button>
|
||||
</li> -->
|
||||
<?php if ($page->is(page('lettre')) || $page->is(page('a-propos'))):?>
|
||||
<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>
|
||||
</footer>
|
||||
<?php endif ?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<?php if (!$page->is(page('lettre')) && !$page->is(page('a-propos'))): ?>
|
||||
<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>
|
||||
<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>
|
||||
</footer>
|
||||
<?php endif ?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue