aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/page/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page/list.php')
-rw-r--r--core/include/page/list.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/include/page/list.php b/core/include/page/list.php
index f7541fa..8cfbce5 100644
--- a/core/include/page/list.php
+++ b/core/include/page/list.php
@@ -55,7 +55,9 @@ $ListTemplate = Template\Factory::build('page/list');
$ListTemplate->set('PAGINATION', [
'THIS' => $currentSite,
'LAST' => $lastSite,
- 'HTML' => generatePageNaviTemplate($currentSite)
+ 'HTML' => createPaginationTemplate(
+ $currentSite, $lastSite, Application::getPageURL()
+ )
]);
$ListTemplate->set('LIST', [
'PAGES' => $templates ?? []