

  <div class="row">



      <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

      <div class="col-md-6">
        <a href="<?php echo e(route('front.blogshow',$blog->id)); ?>" class="single-blog">
          <div class="img">
            <img src="<?php echo e(asset('assets/images/blogs/'.$blog->photo)); ?>" alt="blog-photo">
          </div>
          <div class="content">
            <span>
              <h4 class="title">
                <?php echo e($blog->title); ?>

              </h4>
            </span>
            <div class="text">
              <p>
                <?php echo e(substr(strip_tags($blog->details),0,170)); ?>

              </p>
            </div>

            <ul class="top-meta">
              <li>
                <span>
                  <i class="far fa-clock"></i><?php echo e(\Carbon\Carbon::parse($blog->created_at)->diffForHumans()); ?>

                </span>
              </li>

            </ul>
          </div>
        </a>
      </div>

      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

  </div>

  <div class="page-center">
    <?php if(isset($_GET['search'])): ?>
      <?php echo $blogs->appends(['search' => $_GET['search']])->links(); ?>   
    <?php else: ?>
      <?php echo $blogs->links(); ?>   
    <?php endif; ?>  
  </div>
<?php /**PATH /home/royaldem/public_html/project/resources/views/front/ajax/blog.blade.php ENDPATH**/ ?>