@extends('layouts.public') @section('title', $post->meta_title ?: $post->title) @section('meta_description', $post->meta_description ?: $post->excerpt) @push('head') @if($post->featured_image)@endif @endpush @section('content')
← Back to blog
@if($post->category){{ $post->category->name }}@endif

{{ $post->title }}

{{ $post->published_at?->format('F j, Y') }} @if($post->author) · by {{ $post->author->name }}@endif

@if($post->featured_image) {{ $post->title }} @endif
{!! $post->content !!}
@if($related->isNotEmpty())

Related posts

@foreach($related as $r)

{{ $r->title }}

{{ $r->excerpt }}

@endforeach
@endif @endsection