@php $breadcrumbs = collect($ancestors)->mapWithKeys(fn ($ancestor) => [$ancestor->title => $ancestor->url()])->put($page->title, null)->all(); @endphp
{{-- Navigation de la rubrique --}}
@if ($page->image) @endif
{!! $page->body !!}
@if ($documents->isNotEmpty())

À télécharger

@endif @if ($page->children->isNotEmpty())
@foreach ($page->children as $child)

{{ $child->title }}

{{ $child->excerpt }}

@endforeach
@endif @if ($siblings->count() > 1) @php $index = $siblings->search(fn ($sibling) => $sibling->is($page)); $previous = $index > 0 ? $siblings[$index - 1] : null; $next = $index !== false && $index < $siblings->count() - 1 ? $siblings[$index + 1] : null; @endphp @endif
@if ($root->slug === 'professionnels')

Chefs & professionnels

Recevoir notre mercuriale

@endif