display footer on home page only
This commit is contained in:
parent
4f6e32bfaa
commit
3dd3286bb8
3 changed files with 238 additions and 1383 deletions
|
|
@ -24,9 +24,8 @@
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
|
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
|
||||||
"getkirby/cms": "^4.5",
|
"getkirby/cms": "^4.5",
|
||||||
"php-http/guzzle7-adapter": "^1.1",
|
"symfony/http-client": "^7.2",
|
||||||
"nyholm/psr7": "^1.8",
|
"nyholm/psr7": "^1.8"
|
||||||
"mailersend/mailersend": "^0.28.0"
|
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
|
|
|
||||||
1560
composer.lock
generated
1560
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,31 +1,31 @@
|
||||||
<!-- <footer id="main-footer">
|
<?php if ($page->isHomePage()): ?>
|
||||||
<ul id="links">
|
<footer id="main-footer">
|
||||||
<?php // if (!$page->isHomePage() && $kirby->user()):?>
|
<ul id="links">
|
||||||
<li class="open-nav-wrapper">
|
<li class="open-nav-wrapper">
|
||||||
<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 // endif?>
|
<?php if ($page->is(page('lettre')) || $page->is(page('a-propos'))):?>
|
||||||
<?php // if ($page->is(page('lettre')) || $page->is(page('a-propos'))):?>
|
<li>
|
||||||
<li>
|
<a href="<?= $site->url() ?>">
|
||||||
<a href="<?= $site->url() ?>">
|
accueil
|
||||||
accueil
|
</a>
|
||||||
</a>
|
</li>
|
||||||
</li>
|
<?php else: ?>
|
||||||
<?php // else:?>
|
<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 // endif?>
|
<li>
|
||||||
<li>
|
<a
|
||||||
<a
|
href="<?= $site->find('a-propos')->url() ?>">
|
||||||
href="<?= $site->find('a-propos')->url() ?>">
|
à propos
|
||||||
à propos
|
</a>
|
||||||
</a>
|
</li>
|
||||||
</li>
|
</ul>
|
||||||
</ul>
|
</footer>
|
||||||
</footer> -->
|
<?php endif ?>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue