-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (37 loc) · 1.35 KB
/
index.html
File metadata and controls
37 lines (37 loc) · 1.35 KB
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
---
layout: default
---
<section class="lotus-logo fn-clear">
<hgroup class="violet-site">
<h1><a href="{{ site.url | append: site.baseurl }}" >{{ site.title }}</a></h1>
<h2>{{ site.subTitle }}</h2>
</hgroup><!-- //violet-site -->
</section>
{% for rpost in site.posts limit:4 %}
<article class="lotus-article">
<h3><a href="{{ site.url | append: site.baseurl }}{{ rpost.url }}" title="{{ rpost.title }}" rel="bookmark">{{ rpost.title }}</a></h3>
<p itemprop="description">{{ rpost.content }}</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="{{ site.url | append: site.baseurl }}{{ npost.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="{{ site.url | append: site.baseurl }}{{ page.url }}" rel="bookmark" title="{{page.title}}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</article>
</section>