forked from yanyiwu/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (30 loc) · 860 Bytes
/
index.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
---
layout: default
title: YanyiWu
---
<div>
<h1>首页</h1>
<div class="post_list">
{% for post in site.posts %}
{% if post.hot == "yes" %}
<!--
<a style="color:#900; border-bottom-color:#900" href="{{ post.url }}">
-->
<a class="post_list_item post_list_item_hot" href="{{ post.url }}">
{{ post.date | date_to_string }}
»
{{ post.title }}
</a>
{% endif %}
{% endfor %}
{% for post in site.posts %}
{% if post.hot != "yes" %}
<a class="post_list_item" href="{{ post.url }}">
{{ post.date | date_to_string }}
»
{{ post.title }}
</a>
{% endif %}
{% endfor %}
</div>
</div>