@if(typeof pagination !== "undefined")
<nav class="pagination">
    <a href="{{ link.main }}{{ link.path }}{{ pagination.start }}"
        class="page-item-1 btn start@if(!pagination.prev) disabled@endif">&laquo;</a>
    <a href="{{ link.main }}{{ link.path }}{{ pagination.prev }}"
        class="page-item-2 btn prev@if(!pagination.prev) disabled@endif">&lsaquo;</a>
    @each(pagination.cheat as i)
    @if(i == pagination.page)
    <span class="btn disabled">{{ i }}</span>
    @else
    <a href="{{ link.main }}{{ link.path }}{{ i }}" class="pagination-int-item btn">{{ i }}</a>
    @endif
    @endeach
    <a href="{{ link.main }}{{ link.path }}{{ pagination.next }}"
        class="page-item-3 btn next@if(!pagination.next) disabled@endif">&rsaquo;</a>
    <a href="{{ link.main }}{{ link.path }}{{ pagination.end }}"
        class="page-item-4 btn start@if(!pagination.next) disabled@endif">&raquo;</a>
</nav>
@endif