@extends('layouts.public') @php $shareUrl = urlencode($post->url()); $shareText = urlencode($post->t('title')); @endphp @section('content') @include('partials.page-hero', [ 'eyebrow' => $post->category?->t('name') ?? __('blog'), 'title' => $post->t('title'), 'subtitle' => $post->t('excerpt'), 'breadcrumbs' => array_values(array_filter([ ['label' => __('blog'), 'url' => route('blog.index')], $post->category ? ['label' => $post->category->t('name'), 'url' => route('blog.category', $post->category)] : null, ['label' => \Illuminate\Support\Str::limit($post->t('title'), 40)], ])), ])
{{ $post->published_at?->format('d M, Y') }} {{ reading_time($post->t('body')) }} {{ __('estimated_reading') }} {{ $post->views }}
@if ($post->featured_image)
{{ $post->t('title') }}
@endif
{!! $post->t('body') !!}
@if ($post->tags->isNotEmpty())
{{ __('category') }}: @foreach ($post->tags as $tag) {{ $tag->t('name') }} @endforeach
@endif
{{ __('share') }}:
{{ __('back_to_blog') }}
@endsection