@if (isset($post->category)) @php $cat = explode(',', $post->category); @endphp {{ $cat[0] }} @elseif(isset($hero['subtitle'])) {{ __($hero['subtitle']) }} @endif

@if (isset($post->title)) {{ $post->title }} @elseif(isset($hero['title'])) @if ($hero['type'] == 'author') {{ ucfirst(App\Models\User::where('id', $hero['title'])->first()->name) }} @else {{ $hero['title'] }} @endif @else {{ __('Blog Posts') }} @endif

@if (isset($hero['description']))

{{ __($hero['description']) }}

@endif @if (isset($post->seo_description))

{{ $post->seo_description }}

@endif