heroType()->value() == 'image'): ?>
heroImages()->toFile()): ?>
heroCaption()->isNotEmpty()): ?>
= $page->heroCaption()->inline() ?>
caption()->isNotEmpty()): ?>
= $heroImage->caption() ?>
heroType()->value() == 'video'): ?>
videoPreview()->toFile()): ?>
videoUrl()->isNotEmpty()): ?>
heroCaption()->isNotEmpty()): ?>
= $page->heroCaption()->inline() ?>
incidentDate()->isNotEmpty()): ?>
- Date de l'incident
incidentLocation()->isNotEmpty()): ?>
- Lieu de l'incident
- = $page->incidentLocation()->esc() ?>
incidentConsequences()->isNotEmpty()): ?>
- Conséquences
- = $page->incidentConsequences()->esc() ?>
keywords()->split()): ?>
0): ?>
methodology()->split()): ?>
0): ?>
team()->toStructure()): ?>
isNotEmpty()): ?>
- Équipe
- name()->esc();
if ($member->role()->isNotEmpty()) {
$members[] = $name . ' (' . $member->role()->esc() . ')';
} else {
$members[] = $name;
}
}
echo implode(', ', $members);
?>
partners()->toStructure()): ?>
isNotEmpty()): ?>
- Partenaire(s)
-
link()->isNotEmpty()): ?>
link() . '" target="_blank">' . $partner->name()->esc() . '' ?>
name()->esc() ?>
= implode(', ', $partnerLinks) ?>
created()->isNotEmpty()): ?>
- Date de publication
body()->toLayouts() as $layout): ?>
columns();
$columnCount = $columns->count();
?>
first();
$blocks = $column->blocks();
$hasHeading = false;
$hasOtherContent = false;
// Check what types of content we have
foreach ($blocks as $block) {
if ($block->type() === 'heading') {
$hasHeading = true;
} else {
$hasOtherContent = true;
}
}
?>
type() === 'heading'): ?>
<= $block->level()->or('h3') ?> class="section-title">= $block->text() ?>= $block->level()->or('h3') ?>>
type() === 'text'): ?>
= $block->text() ?>
type() === 'image'): ?>
type() === 'beforeafter'): ?>
type(), ['block' => $block]) ?>
type() === 'video'): ?>
type(), ['block' => $block]) ?>
type() === 'horizontal-gallery'): ?>
type(), ['block' => $block]) ?>
Impacts
Médiatique
12 articles et reprises
1.5M de vues cumulées
Détails = svg('assets/icons/arrow-details.svg') ?>
relatedInvestigations()->toPages();
if ($relatedInvestigations->isEmpty()) {
// Si pas d'enquêtes liées définies, prendre les 3 dernières enquêtes (sauf la page actuelle)
$relatedInvestigations = $page->parent()->children()->filterBy('intendedTemplate', 'investigation')->not($page)->listed()->limit(3);
}
?>
package()->value();
$package = null;
if (!empty($packageSlug) && site()->find('dossiers')) {
$package = site()->find('dossiers')->children()->filterBy('slug', $packageSlug)->first();
}
if ($package):
?>
isNotEmpty()): ?>