--- pagination: collection: posts perPage: 5 --- @extends('_layouts.main') @section('body') @foreach($pagination->items as $post)

{{ $post->title }}

{{ $page->dateTranslated($post->date) }}

{{ $post->excerpt() }}


@endforeach
@if ($previous = $pagination->previous) <<  <  @else << <  @endif @foreach ($pagination->pages as $pageNumber => $path) @if($pageNumber !== 1) @endif {{ $pageNumber }} @endforeach @if ($next = $pagination->next)  >  >> @else  > >> @endif
@endsection