@extends('layout.front.master') @section('title', trans('Search Results for: :query', ['query' => $query])) @section('meta_description', trans('Search results for news articles containing: :query', ['query' => $query])) @section('content')
@if(is_countable($news))

{{ trans('Found :count results for ":query"', ['count' => $news->count(), 'query' => $query]) }}

@else

{{ trans('Found results for ":query"', ['query' => $query]) }}

@endif
@if($news && $news->count() > 0)
@foreach($news as $article) @endforeach
@if(method_exists($news, 'hasPages') && $news->hasPages())
{{ $news->appends(request()->query())->links() }}
@endif @else

{{ trans('No Results Found') }}

{{ trans('Sorry, no news articles match your search for ":query". Try different keywords or browse our latest news.', ['query' => $query]) }}

{{ trans('Browse All News') }}
@endif
@endsection @section('scripts') @endsection