@php $latestUpdates = $latestUpdates ?? collect(); @endphp @extends('layouts.app') @section('title', $update->title . ' | Latest Updates') @section('content')
{{-- Breadcrumb --}} {{-- Main article --}}
Update

{{ $update->title }}

{{ ucfirst($update->category ?? 'Update') }} {{ $update->published_at?->format('j M, Y') }} @if($update->is_pinned) Pinned @endif
@if($update->excerpt)

{{ $update->excerpt }}

@endif
{!! $update->body !!}
{{-- Other recent updates --}} @if($latestUpdates->isNotEmpty()) @endif
@endsection