Remove 'contact' from footer and fix unindexed section titles

This commit is contained in:
isUnknown 2024-11-05 09:37:43 +01:00
parent 29ccfdd477
commit f320896c47
2 changed files with 2 additions and 4 deletions

View file

@ -73,7 +73,7 @@
</a>
</li>
</ul>
<a href="<?= page('informations')->url() ?>#mentions-legales">Contacts mentions légales</a>
<a href="<?= page('informations')->url() ?>#mentions-legales">Mentions légales</a>
</div>
</footer>
<?php snippet('seo/schemas'); ?>

View file

@ -18,9 +18,7 @@
<?php foreach($page->children() as $sectionPage): ?>
<section id="<?= $sectionPage->slug() ?>" <?= e($sectionPage->backgroundColor()->isNotEmpty() == 'true', ' style="--color: ' . $sectionPage->backgroundColor() . ';"') ?>>
<?php if ($sectionPage->isIndexed() != 'false'): ?>
<h2 class="h3"><?= $sectionPage->title() ?></h2>
<?php endif ?>
<h2 class="h3"><?= $sectionPage->title() ?></h2>
<?php foreach ($sectionPage->section()->toLayouts() as $layout): ?>
<div
class="section__row grid<?= e($layout->attrs()->imgHeight()->isNotEmpty() == 'true', ' fixed-img-height') ?>"