-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecent.html
78 lines (65 loc) · 1.72 KB
/
recent.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
70
71
72
73
74
75
76
77
78
---
layout: default
permalink: /recent/
---
{% assign wikies = site.wiki | where: "layout", "wiki" %}
{% assign documents = wikies | where: "public", true | sort: "updated" | reverse %}
<div>
<h3>최근 변경된 문서 ({{ documents | size }} 항목)</h3>
<ul class="post_list">
{% for doc in documents %}
{% if doc.public != false and doc.title != 'wiki' %}
<li class="post_list_item">
<a href="{{ doc.url | prepend: site.baseurl }}">
<div class="post-title">
{{ doc.updated | date: "%Y.%m.%d" }} - {{ doc.title }}
</div>
<div class="post-summary">{{ doc.summary }}</div>
</a>
{% if doc.tags %}
<ul class="post-tags">
{% for tag in doc.tags %}
<li class="post-tag">
{{ tag }}
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% include createLink.html %}
<style>
.post_list {
list-style: none;
}
.post_list_item {
list-style: none;
padding: 0.4em 0;
border-bottom: 0.5px solid var(--accent-low);
}
.post_list_item:first-child {
padding-top: 0;
}
.post_list_item:last-child {
padding-bottom: 0;
border-bottom: none;
}
.post-summary {
color: var(--cloudy-text-color);
font-size: small;
}
.post-tags {
display: flex;
}
.post-tag {
list-style: none;
margin-right: 0.3em;
font-size: small;
}
.post-tag a {
color: var(--cloudy-text-color);
}
</style>