forked from wyntau/wyntau.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (42 loc) · 1.32 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
---
layout: default
---
<section class="lotus-logo fn-clear">
<hgroup class="violet-site">
<h1><a href="{{ '/' | relative_url }}" >{{ site.title }}</a></h1>
<h2>{{ site.subTitle }}</h2>
</hgroup><!-- //violet-site -->
</section>
{% for rpost in site.posts limit:6 %}
<article class="lotus-article">
<h3>
<a href="{{ rpost.url | relative_url }}" title="{{ rpost.title }}" rel="bookmark">{{ rpost.title }}
</a>
</h3>
<p itemprop="description">
{{ rpost.excerpt }}
</p>
</article>
{% endfor %}
<section class="lotus-double fn-clear">
<article class="article article-first">
<h3>近期文章</h3>
<ul>
{% for npost in site.posts limit:4 offset:4 %}
<li><a href="{{ npost.url | relative_url }}" pubdate="{{ npost.date | date_to_utc | date: '%Y-%m-%d' }}" title="{{ npost.title }}" rel="bookmark">{{ npost.title }}</a></li>
{% endfor %}
</ul>
</article>
<article class="article article-last">
<h3>相关页面</h3>
<ul>
{% for page in site.html_pages %}
{% if page.url != '/'%}
<li>
<a href="{{ page.url | relative_url }}" rel="bookmark" title="{{page.title}}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</article>
</section>