@if ($items->count() > 0 )
{{ __('Search Results For') }} "{{ Request::get('s') }}" {{ __('Results No') }} ( {{ $items->total() }})
@foreach ($items as $key => $item)
@php
$section = Optional($item->category)->section;
if (in_array($section, listItemsWithCategory())) {
$url = route('show.'.$section.'.page.category',[$item->category->slug,$item->slug]);
}
else {
$url = route('show.'.$section.'.page',[$item->slug]);
}
@endphp
{!! Optional($item->category)->title !!}
{!! strip_tags(Str::words($item->content, 70, ' ...')) !!}
{!! __('Read more') !!}
@endforeach
@else
{{ __('Search') }}
{{ __('No Results') }}
@endif