@php $url = route('blog.show', $post->slug); $image = $post->coverUrl(); $image = $image && ! str_starts_with($image, 'http') ? url($image) : $image; $description = $post->summary(); @endphp @push('head') @endpush
{{ __('blog.back') }} @if ($preview){{ __('blog.preview') }}@endif
@if ($post->category)

{{ $post->category->name }}

@endif

{{ $post->title }}

{{ __('blog.by') }} @if ($post->published_at) - {{ __('blog.published_on', ['date' => App\Support\Dates::format($post->published_at)]) }}@endif - {{ __('blog.reading_time', ['n' => $post->readingMinutes()]) }}

@if ($image) {{ $post->cover_alt ?: __('blog.cover_fallback', ['title' => $post->title]) }} @endif
{!! $post->html() !!}

{{ __('blog.share.heading') }}

@if ($related->isNotEmpty())
@foreach ($related as $other)

{{ App\Support\Dates::format($other->published_at) }}

{{ $other->title }}

@endforeach
@endif