+ <#list archives as archive>
+
+ <#include "module/pagination.ftl">
+ ${archive.year?c}
+
+ <#list archive.posts?sort_by("createTime")?reverse as post>
+
#list>
- #list>
-
-
-
+ ${post.title!}
+
+ #list>
+ ${post.createTime?string('MM-dd')}
+ 分页
- - <#if posts.totalPages gt 1> --
- <@paginationTag method="archives" page="${posts.number}" total="${posts.totalPages}" display="3">
- <#if pagination.hasPrev>
-
- - - 上一页 - - - #if> - <#list pagination.rainbowPages as number> -
- - <#if number.isCurrent> - 第 ${number.page!} 页 - <#else> - 第 ${number.page!} 页 - #if> - - #list> - <#if pagination.hasNext> -
- - - 下一页 - - - #if> - @paginationTag> -