@if (isset($hero['type'])) @if (isset($setting->meta_description)) @endif @if (isset($setting->meta_keywords)) @endif @else @if (isset($post->seo_title)) @else @if (isset($setting->meta_description)) @endif @endif @if (isset($post->seo_description)) @else @if (isset($setting->meta_keywords)) @endif @endif @endif @if (isset($hero['type'])) @if ($hero['type'] == 'blog') {{ $hero['title'] }} @elseif($hero['type'] == 'category') {{ ucfirst($hero['title']) }} @elseif($hero['type'] == 'tag') {{ ucfirst($hero['title']) }} @elseif($hero['type'] == 'author') {{ ucfirst(App\Models\User::where('id', $hero['title'])->first()->name) }} @endif @else @if (isset($post->title)) {{ $post?->title }} @else {{ $setting->site_name }} @endif @endif | {{ $setting->site_name }} @if (file_exists(base_path('resources/css/custom-frontend.scss'))) @vite('resources/css/custom-frontend.scss') @else @vite('resources/css/frontend.scss') @endif @if ($setting->frontend_custom_css != null) @endif @if ($setting->frontend_code_before_head != null) {!! $setting->frontend_code_before_head !!} @endif
@if (view()->exists('panel.admin.custom.blog.header')) @include('panel.admin.custom.blog.header') @else @include('blog.header') @endif @yield('content') @include('blog.footer') @if ($setting->frontend_custom_js != null) @endif @if ($setting->frontend_code_before_body != null) {!! $setting->frontend_code_before_body !!} @endif @if (file_exists(base_path('public/assets/js/custom-frontend.js'))) @else @endif @if ($setting->gdpr_status == 1) @endif