diff --git a/src/index.php b/src/index.php index 83b0a99..1b9e049 100644 --- a/src/index.php +++ b/src/index.php @@ -89,22 +89,74 @@ 没有文章 - getTotal()/$this->parameter->pageSize); ?> + getCurrentPage(); + $TotalPage=ceil($this->getTotal()/$this->parameter->pageSize); + $PageLinkTemp = Typecho\Router::url( + $this->parameter->type . + (false === strpos($this->parameter->type, '_page') ? '_page' : null), + $this->pageRow, + $this->options->index + ); + ?> 1){ ?> -