Skip to content

Commit 7ab475e

Browse files
committed
Finish: Category,
1 parent 4ddaf62 commit 7ab475e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1686
-136
lines changed

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
/node_modules
2-
/.idea
3-
4-
yarn.lock

archives.ftl

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
<#include "module/macro.ftl">
3+
<#-- Post Page Template -->
4+
<@layout title="归档-${blog_title!}">
5+
6+
<#-- Top Menu -->
7+
<#include "module/menu.ftl">
8+
9+
<#-- Page Cover -->
10+
<#import "module/cover.ftl" as cover>
11+
<@cover.layout img="${settings.archives_cover!}" title="文章归档" subtitle="" />
12+
13+
<main>
14+
<section id="archives" class="container markdown">
15+
<@postTag method="archiveMonth">
16+
<#list archives as archive>
17+
<h4>${archive.year?c}-${archive.month?c}</h4>
18+
<ul>
19+
<#list archive.posts?sort_by("createTime")?reverse as post>
20+
<li>
21+
<span>${post.createTime?date}</span>
22+
<a href="${post.fullPath!}">${post.title!}</a>
23+
</li>
24+
</#list>
25+
</ul>
26+
</#list>
27+
</@postTag>
28+
</section>
29+
</main>
30+
31+
<#-- Page Footer -->
32+
<#include "module/footer.ftl">
33+
34+
<#include "module/script.ftl">
35+
</@layout>

assets/css/font.css

-23
This file was deleted.

assets/css/index.css

+1-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)