@php $metaTitle = $blog->meta_title ?: $blog->title; $metaDesc = $blog->meta_description ?: Str::limit(strip_tags($blog->excerpt ?: $blog->content), 160); $activeTheme = \App\Services\ThemeService::active(); @endphp @extends("themes.{$activeTheme}.layouts.master") @section('title', $metaTitle) @push('styles') @endpush @section('content')

{{ $blog->title }}

@if($blog->category) {{ $blog->category->name }} @endif {{ $blog->published_at?->format('d F Y') ?? $blog->created_at->format('d F Y') }}
@if($blog->image) {{ $blog->title }} @endif @if($blog->excerpt)

{{ $blog->excerpt }}

@endif
{!! $blog->content !!}
@include('frontEnd.blog.partials.sidebar') @if($recent->isNotEmpty()) @endif
@endsection