-
Notifications
You must be signed in to change notification settings - Fork 1
/
warcraft.html
107 lines (78 loc) · 2.28 KB
/
warcraft.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
layout: warcraft
title: "Warcraft"
menu: main
permalink: /warcraft/
---
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="warcft-list">
<p>If you play World of Warcraft(魔兽世界), you might understand some of this stuff. ♫♫ indicates that a post has open comments.</p>
<ul>
{% for post in site.posts %}
{% if post.url %}
{% if post.category == "warcraft" %}
<li class="warcft-post">
<div class="warcft-link-box"><a class="warcft-link-txt" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | truncate: 31 }}</a></div>
{% if post.thumbnail_id %}
<div class="warcft-tb">
<img src="{{ site.url }}/assets/tb/{{post.thumbnail_id}}" alt="" class="warcft-tb-img">
</div>
{% endif %}
<div class="warcft-desc">
<span class="warcft-tags">{{post.tags | array_to_sentence_string}}</span><br/>
{{post.description}} {% if post.comments_id %}<span class="arch-comments-notify">♫♫</span>{% endif %}
</div>
<span class="warcft-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>
{% else %}
{% endif %}
{% else %}
{% endif %}
{% endfor %}
</ul>
<!--
{% for post in site.posts %}
<li class="esd-post">
<div class="esd-link-box"><a class="esd-link-txt" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | truncate: 31 }}</a></div>
<p class="esd-cata">/{{post.categories}}/</p>
{% if post.description == "" %}
{% else %}<br>
<div class="esd-desc">{{post.description}}</div>
{% endif %}
<div class="esd-tags">
{{post.tags | array_to_sentence_string}}</div>
<span class="esd-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>
{% endfor %}
-->
</div>
</body>
</html>