@extends('layouts.app_layout') @section('page_title') MyBlog | Search for "{{$search_input}}" @endsection @section('content') Search results for "{{$search_input}}" @if(count($searched_post) < 1) No post found @else @foreach ($searched_post as $search_post) {!! Str::limit($search_post->category, 70) !!} {!! Str::limit($search_post->post_title, 70) !!} {!! Str::limit($search_post->body, 70) !!} @endforeach @endif {{ $searched_post->appends(request()->input())->links() }} - Trending News- @foreach ($side_bar as $side_bar) {!! Str::limit($side_bar->post_title, 50) !!} @endforeach More from us @foreach ($bottom_post as $bottom_post) {{$bottom_post->category}} {!! Str::limit($bottom_post->post_title, 70) !!} {!! Str::limit($bottom_post->body, 50) !!} @endforeach @endsection