-
Notifications
You must be signed in to change notification settings - Fork 11
/
archives.ftl
45 lines (45 loc) · 2.07 KB
/
archives.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
42
43
44
45
<#---
@package Akina
-->
<#include "header.ftl">
<@header title="文章归档 - ${blog_title!}">
<#if (settings.patternimg!true) && (settings.archives_patternimg?? && settings.archives_patternimg!='')>
<div class="pattern-center">
<div class="pattern-attachment-img" style="background-image: url('${settings.archives_patternimg!}')"> </div>
<header class="pattern-header">
<h1 class="entry-title">文章归档</h1>
</header>
</div>
<#else>
<div class="blank"></div>
</#if>
</@header>
<article class="post-item page type-page status-publish hentry">
<div id="archives-temp">
<#if !(settings.patternimg!true) || !(settings.archives_patternimg?? && settings.archives_patternimg!='')>
<h2>文章归档</h2>
</#if>
<div id="archives-content">
<@postTag method="archiveMonth">
<#list archives as archive>
<div class="archive-title" id="arti-${archive.year?c}-${archive.month!}">
<span class="ar-time"><i class="iconfont"></i></span>
<h3>${archive.year?c}-${archive.month!}</h3>
<div class="archives archives-${archive_index}" id="monlist" data-date="${archive.year?c}-${archive.month!}" style="display: block; overflow: hidden;">
<#list archive.posts as post>
<span class="ar-circle"></span>
<div class="arrow-left-ar"></div>
<div class="brick">
<a href="${post.fullPath!}">
<span class="time"><i class="iconfont"></i>${post.createTime?string('MM-dd')}</span>${post.title!}
</a>
</div>
</#list>
</div>
</div>
</#list>
</@postTag>
</div>
</div>
</article>
<#include "footer.ftl">