-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.html
69 lines (52 loc) · 1.42 KB
/
archive.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
layout: archive
title: "/archive"
menu: main
permalink: /archive/
---
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>The archive is the list of many active posts listed chronologically. ♫♫ indicates that a post has open comments.</p>
<div id="arch-list">
{% for post in site.posts %}
{% if post.url %}
{% if post.category != "old" %}
{% if post.category != "calligraphy" %}
{% if post.category != "hexfiles" %}
{% if post.category != "fpmcnotes" %}
<li class="arch-post">
<div class="arch-link-box"><a class="arch-link-txt" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | truncate: 31 }}</a></div>
<p class="arch-cata">/{{post.category}}/</p>
{% if post.description == "" %}
{% else %}<br>
<div class="arch-desc">{{post.description}} {% if post.comments_id %}<span class="arch-comments-notify">♫♫</span>{% endif %}</div>
{% endif %}
<div class="arch-tags">
{{post.tags | array_to_sentence_string}}</div>
<span class="arch-date">
<span id="dayname-cn">
{% assign day = post.date | date: "%w" %}
{% case day %}
{% when '0' %}周日
{% when '1' %}周一
{% when '2' %}周二
{% when '3' %}周三
{% when '4' %}周四
{% when '5' %}周五
{% else %}周六
{% endcase %}</span>
{{post.date | date: "%d %b, %Y"}}
</span>
</li>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</div>
</body>
</html>