@if(!empty(setting('_front_page_settings.blog_pre_heading')) || !empty(setting('_front_page_settings.blog_heading')) || !empty(setting('_front_page_settings.blog_description')) || !empty(setting('_front_page_settings.search_placeholder')) || !empty(setting('_front_page_settings.search_button_text')))
@if(!empty(setting('_front_page_settings.blog_pre_heading'))) {!! setting('_front_page_settings.blog_pre_heading') !!} @endif @if(!empty(setting('_front_page_settings.blog_heading')))

{!! setting('_front_page_settings.blog_heading') !!}

@endif @if(!empty(setting('_front_page_settings.blog_description')))

{!! setting('_front_page_settings.blog_description') !!}

@endif
@endif
@if(!empty(setting('_front_page_settings.all_blogs_heading')))

{!! setting('_front_page_settings.all_blogs_heading') !!}

@endif
@if($keyword || $category_id || $orderBy != 'desc')
{{__('blogs.clear_all_filtes')}}
@endif
@if($blogs->isNotEmpty()) @foreach($blogs as $blog)
@if(!empty($blog->image) && Storage::disk(getStorageDisk())->exists($blog->image)) {{ $blog->title }} @else {{ $blog->title }} @endif
@php $description = strip_tags($blog->description); $shortDescription = Str::words($description, 50, '...'); @endphp

{{ $shortDescription }}

@if (!empty($blog->tags)) @endif
@endforeach @else

{{ __('blogs.no_results_found') }}

{{ __('blogs.no_results_found_description') }}
@endif @if($blogs->hasPages() && $blogs->isNotEmpty())
{{ $blogs->links('pagination.pagination', ['blog' => true]) }}
@endif
@push('scripts') @endpush