{{-- Font & Icon --}}

{{ $article->title }}

{{-- GAMBAR UTAMA --}} @if(!empty($article->image) && $article->image != '-') @php // Ambil API URL $apiUrl = config('api.url'); // $apiUrl = "http://localhost:8001/api/"; // PERBAIKAN 1: Gunakan str_replace PHP, bukan .replace JS $cleanImage = str_replace(' ', '_', $article->image); // PERBAIKAN 2: Gunakan titik (.) untuk menggabung string, bukan (+) $fullUrl = $apiUrl . "masjid-auth/storage-file?filename=" . $cleanImage . "&kode_lokasi=" . $article->kode_lokasi; @endphp @endif
{{-- Gunakan html_entity_decode untuk mengubah <p> menjadi

--}} {{-- Gunakan {!! !!} agar browser merender-nya sebagai HTML, bukan teks --}} {!! html_entity_decode($article->content_id) !!}

@section('title', $article->title)