@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 }}
@php
$link = 'resources/views/' . get_theme() . '/scss/landing-page.scss';
@endphp
@vite($link)
@if ($setting->frontend_custom_css != null)
@endif
@if ($setting->frontend_code_before_head != null)
{!! $setting->frontend_code_before_head !!}
@endif
@if (setting('additional_custom_css') != null)
{!! setting('additional_custom_css') !!}
@endif
@include('blog.header')
@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 ($setting->gdpr_status == 1)
@endif