/**
* @var PagerRenderer $pager
*/
$pager->
setSurroundCount(2
);
?>
<nav aria-label="<?=
lang('Pager.pageNavigation'
) ?>">
<ul class="pagination">
<?php
if ($pager->
hasPrevious()) : ?>
<li>
<a href="<?=
$pager->
getFirst() ?>" aria-label="<?=
lang('Pager.first'
) ?>">
<span aria-hidden="true"><?=
lang('Pager.first'
) ?></span>
</a>
</li>
<li>
<a href="<?=
$pager->
getPrevious() ?>" aria-label="<?=
lang('Pager.previous'
) ?>">
<span aria-hidden="true"><?=
lang('Pager.previous'
) ?></span>
</a>
</li>
<?php
endif ?>
<?php
foreach ($pager->
links() as $link) : ?>