-
Notifications
You must be signed in to change notification settings - Fork 153
/
tag.ftl
41 lines (41 loc) · 1.67 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="zh-CN">
<#import "template/common/header.ftl" as headInfo>
<@headInfo.head title="${tag.name!}" type="tag"/>
<#import "template/macro/tail.ftl" as tailInfo>
<body>
<div id="Joe">
<#include "template/common/navbar.ftl">
<div class="joe_container joe_main_container page-tag${settings.enable_show_in_up?then(' animated showInUp','')}">
<div class="joe_main">
<div class="joe_archive">
<div class="joe_archive__title">
<div class="joe_archive__title-title">
<i class="joe-font joe-icon-feather joe_archive__title-icon"></i>以下是
<span class="muted ellipsis">${tag.name!}</span>
<span>相关的文章</span>
</div>
</div>
<#if posts.content?size gt 0>
<#include "template/macro/post_item.ftl">
<ul class="joe_archive__list joe_list" data-wow="off">
<#list posts.content as post>
<@post_item post=post index=post_index type="tag"/>
</#list>
</ul>
<#include "template/common/pager.ftl">
<@pager method="tagPosts" postsData=posts slug="${tag.slug!}" display="${settings.max_pager_number!5}" />
<#else>
<#include "template/macro/empty.ftl">
<@empty type="tag" text="未找到相关文章..."/>
</#if>
</div>
</div>
<#-- <#include "template/common/aside.ftl"> -->
</div>
<#include "template/common/actions.ftl">
<#include "template/common/footer.ftl">
</div>
<@tailInfo.tail type="tag"/>
</body>
</html>