forked from losgod/halo-theme-limit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.ftl
26 lines (21 loc) · 778 Bytes
/
tag.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<#include "module/macro.ftl">
<#-- Post Page Template -->
<@layout title="${tag.name!''}-${blog_title!}">
<#-- Top Menu -->
<#include "module/menu.ftl">
<#-- Page Cover -->
<#import "module/cover.ftl" as cover>
<@cover.layout img="${settings.tag_cover!}" title="标签「${tag.name!''}」" subtitle="" />
<main>
<section id="articles">
<#-- 文章列表 -->
<#include "module/list-style.ftl">
</section>
<@paginationTag method="tagPosts" page="${posts.number}" total="${posts.totalPages}" display="3" slug="${tag.slug!}">
<#include "module/pagination.ftl">
</@paginationTag>
</main>
<#-- Page Footer -->
<#include "module/footer.ftl">
<#include "module/script.ftl">
</@layout>