diff --git a/archives.ftl b/archives.ftl index 48b3e99..ed24955 100644 --- a/archives.ftl +++ b/archives.ftl @@ -25,12 +25,12 @@ <#if posts.totalPages gt 1> - <@postTag method="pagination" page="${posts.number}" total="${posts.totalPages}" display="3" isArchives="true"> + <@paginationTag method="archives" page="${posts.number}" total="${posts.totalPages}" display="3"> - + diff --git a/category.ftl b/category.ftl index da8c046..66dcbdf 100644 --- a/category.ftl +++ b/category.ftl @@ -7,12 +7,12 @@
<#include "module/post_entry.ftl"> <#if posts.totalPages gt 1> - <@categoryTag method="pagination" page="${posts.number}" total="${posts.totalPages}" display="3" slug="${category.slug!}"> + <@paginationTag method="categoryPosts" page="${posts.number}" total="${posts.totalPages}" display="3" slug="${category.slug!}"> - +
diff --git a/index.ftl b/index.ftl index 89636c7..8360c8f 100644 --- a/index.ftl +++ b/index.ftl @@ -7,12 +7,12 @@
<#include "module/post_entry.ftl"> <#if posts.totalPages gt 1> - <@postTag method="pagination" page="${posts.number}" total="${posts.totalPages}" display="3" isArchives="false"> + <@paginationTag method="index" page="${posts.number}" total="${posts.totalPages}" display="3"> - +
diff --git a/post.ftl b/post.ftl index f376f7b..c232293 100644 --- a/post.ftl +++ b/post.ftl @@ -53,9 +53,9 @@ 下一篇 - <#if prePost??> + <#if prevPost??>
  • - 上一篇 + 上一篇
  • diff --git a/tag.ftl b/tag.ftl index d2c1419..e6197d6 100644 --- a/tag.ftl +++ b/tag.ftl @@ -7,12 +7,12 @@
    <#include "module/post_entry.ftl"> <#if posts.totalPages gt 1> - <@tagTag method="pagination" page="${posts.number}" total="${posts.totalPages}" display="3" slug="${tag.slug!}"> + <@paginationTag method="tagPosts" page="${posts.number}" total="${posts.totalPages}" display="3" slug="${tag.slug!}"> - +