fix après changement de nom des champs
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s

This commit is contained in:
sarahgarcin1 2026-02-27 12:51:47 +01:00
parent 153e75c0a9
commit 25fc60ebe9

View file

@ -127,11 +127,11 @@ foreach ($subpages as $subpage) {
</header>
<!-- Introduction -->
<?php if ($original->introduction()->isNotEmpty()): ?>
<?php if ($original->intro()->isNotEmpty()): ?>
<section class="nw-introduction">
<div class="nw-container nw-container--narrow">
<div class="nw-introduction__body">
<?= $original->introduction() ?>
<?= $original->intro() ?>
</div>
</div>
</section>
@ -211,9 +211,9 @@ foreach ($subpages as $subpage) {
<div class="nw-map-marker__body">
<h3 class="nw-map-marker__title"><?= html($marker->title()) ?></h3>
<?php if ($marker->text()->isNotEmpty()): ?>
<?php if ($marker->body()->isNotEmpty()): ?>
<div class="nw-map-marker__content">
<?php foreach ($marker->text()->toBlocks() as $block): ?>
<?php foreach ($marker->body()->toBlocks() as $block): ?>
<div class="block block-type-<?= $block->type() ?>">
<?= $block ?>
</div>