@extends('frontend.layouts.app3') @section('seo') Article | Muhlach Bakery @endsection @section('content')

Article/Reviews

@foreach ($articles as $items)
{{ date('Y M d', strtotime($items->created_at)) }}
{!! Str::limit($items->author, 20, '...') !!}

{!! Str::limit($items->title, 30, '...') !!}

{!! Str::limit($items->description, 100, '...') !!}

Read More
@endforeach
@if ($articles->hasPages())
    @if ($articles->currentPage() == 1) @else
  • @endif @if($articles->currentPage() > 3) @endif @if($articles->currentPage() > 4)
  • ...
  • @endif @foreach(range(1, $articles->lastPage()) as $i) @if($i >= $articles->currentPage() - 2 && $i <= $articles->currentPage() + 2) @if ($i == $articles->currentPage())
  • {{ $i }}
  • @else
  • {{ $i }}
  • @endif @endif @endforeach @if($articles->currentPage() < $articles->lastPage() - 3) @endif @if($articles->currentPage() < $articles->lastPage() - 2) @endif @if ($articles->hasMorePages())
  • @else @endif
@endif
@endsection