@extends('public.layout.app') {{-- change to your front layout if different --}} @section('title', $post->title) @section('body') @php $img = $post->cover_image ?? $post->thumbnail ?? $post->image ?? null; // change field names as needed @endphp
{{-- Header --}}
{{ __('front.back_to_posts') }}
{{ optional($post->created_at)->format('Y-m-d') }} {{ $post->slug }}

{{ $post->title }}

@if($post->excerpt)

{{ $post->excerpt }}

@endif
{{-- Content --}}
@if($img)
{{ $post->title }}
@endif
{{ __('front.article') }}
{!! $post->body ?? nl2br(e($post->content ?? '')) !!}
{{-- Sidebar --}}
{{ __('front.post_info') }}
{{ __('front.published') }} {{ optional($post->created_at)->format('Y-m-d') }}
{{ __('front.updated') }} {{ optional($post->updated_at)->format('Y-m-d') }}
{{ __('front.slug') }} {{ $post->slug }}
{{ __('front.tip') }}

{{ __('front.use_search_in_posts_list_to_quickly_find_articles_by_ti') }}

@endsection