@php $seoHead = $post->seo_head; // Détecte si cet article correspond à une ville du Bassin (pour la mini-carte) $city = collect(config('bassin.cities'))->first(fn ($c) => rawurldecode($c['url']) === $post->uri); $isCitiesIndex = $post->uri === '/les-villes-aux-alentours/'; @endphp @extends('layouts.app') @section('content')

{{ $post->title }}

@if($post->wp_published_at)

Publié le {{ $post->wp_published_at->translatedFormat('d F Y') }}

@endif
@if($post->featured_image_path) {{ $post->title }} @endif {{-- Mini-carte interactive pour une fiche ville --}} @if($city) @include('partials.city-map', ['city' => $city]) @endif
{!! $post->content !!}
@if($city)
🏙️ Voir les 20 villes sur la carte
@endif
{{-- Carte complète du Bassin sur la page « Les villes aux alentours » --}} @if($isCitiesIndex) @include('partials.bassin-map') @endif
← Retour à l'accueil
@endsection