@extends('public.layouts.default') @section('title') | Blog @endsection @section('content')
@if($page=='listing')

Blog

Home / Blog

    @include('public.pages.blog._post_listing_loop',['blog_posts'=>$posts,'location'=>'content'])
@if($posts->isEmpty())

Nothing found

Sorry but nothing matches your search terms.Please try again with different keywords.

@endif

Search

@include('public.pages.blog.search')

Book your ride

@include('public.pages.includes.ride_booking', ['form_id' => 'hero_book_form'])
@elseif($page='single')

{{ $post->title }}

Home / {{ $post->title }}

@include('public.pages.blog._post_single',['post'=>$post])

Search

@include('public.pages.blog.search')

Book your ride

@include('public.pages.includes.ride_booking', ['form_id' => 'hero_book_form'])
@endif
@if($page=='listing')
@include('common.blog-pagination',['record_paginator'=>$posts])
@endif
@endsection