-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
53 lines (48 loc) · 1.29 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Jianming Chen
---
{% include showcase.html %}
<!--
{% include greeting.html %}
{% if site.posts != empty %}
<div class="recent-posts">
<h1>Recent Posts</h1>
{% for post in site.posts limit: 3 %}
{% if forloop.first %}
{% assign add_class = 'most-recent' %}
{% capture fresh_tag %}
<span class="badge"><smaller>FRESH</smaller></span>
{% endcapture %}
{% endif %}
<ul class="homepage-posts {{ add_class }}">
<li>
<span>
<h4>
<a href="{{ site.baseurl }}/{{ post.url }}">
{{ post.title }}
</a>
{{ fresh_tag }}
<time class="pull-right">
{{ post.date | date_to_string | date: "%b %-d, %Y" }}
</time>
</h4>
</span>
</li>
</ul>
{% assign add_class = '' %}
{% assign fresh_tag = '' %}
{% endfor %}
<ul>
<a href="{{ site.baseurl }}/projects.html">View More...</a>
</ul>
{% for category in site.categories %}
<h2>{{ category | first }}</h2></span>{{ category | last | size }}</span>
<ul class="arc-list">
{% for post in category.last %}
<li>{{ post.date | date:"%d/%m/%Y"}}<a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}
</div>
-->
{% endif %}