@if ($paginator->hasPages()) @if (empty($seo->canonical)) @push('head') @endpush @endif
    {{-- Previous Page Link --}} @if (!$paginator->onFirstPage())
  1. {!! __('pagination.previous') !!}
  2. @push('head') @endpush @else
  3. {!! __('pagination.previous') !!}
  4. @endif {{-- Pagination Elements --}} @foreach ($elements as $element) {{-- "Three Dots" Separator --}} @if (is_string($element))
  5. {{ $element }}
  6. @endif {{-- Array Of Links --}} @if (is_array($element)) @foreach ($element as $page => $url) @if ($page == $paginator->currentPage())
  7. {{ $page }}
  8. @else
  9. {{ $page }}
  10. @endif @endforeach @endif @endforeach {{-- Next Page Link --}} @if ($paginator->hasMorePages())
  11. {!! __('pagination.next') !!}
  12. @push('head') @endpush @else
  13. {!! __('pagination.next') !!}
  14. @endif
@endif