@if($post->featuredMedia?->url()) @endif

{{ $post->title }}

{{ $post->author_name }} · {{ optional($post->published_at)->toFormattedDateString() }} @if($post->reading_time_minutes) · {{ $post->reading_time_minutes }} min read @endif

@if($post->tags->isNotEmpty())
@foreach($post->tags as $tag) {{ $tag->name }} @endforeach
@endif
{!! $post->body !!}
@if(($related ?? collect())->isNotEmpty())

Keep reading

Related articles

@foreach($related as $item)

{{ $item->title }}

{{ $item->excerpt }}

@endforeach
@endif