{var $space = $conf->space ?? 3} {var $pageCount = ceil($conf->count / $conf->perPage)}
« {for $j = $conf->page - ($space-1); $j <= $conf->page + ($space-1); $j++} {$j} {/for} »