parent
9f1bf68d9b
commit
66f9dbab26
@ -31,7 +31,6 @@ $pageHandler = new Pages();
|
||||
$previousLink = null;
|
||||
$nextLink = null;
|
||||
$areTherePages = !!count($content);
|
||||
if ( ( $isPage || $isHome ) ) {
|
||||
if ( $isPage && $areTherePages ) {
|
||||
$currentPage = $content[0];
|
||||
if( isset($currentPage) ) {
|
||||
@ -51,7 +50,6 @@ if ( ( $isPage || $isHome ) ) {
|
||||
$nextLink = Paginator::nextPageUrl();
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php if ( isset($previousLink) ): ?>
|
||||
<li class="float-left">
|
||||
|
Loading…
Reference in New Issue
Block a user