forked from sumin1001/sumin1001.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
41 lines (41 loc) · 1.34 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
---
layout: default
title: 首页
description: 简介
keywords: design, geek
---
<section class="lotus-logo fn-clear">
<hgroup class="violet-site">
<h1><a href="{{ site.url }}" >{{ site.title }}</a></h1>
<h2>{{ site.subTitle }}</h2>
</hgroup><!-- //violet-site -->
</section>
<article class="lotus-article">
{% for rpost in paginator.posts limit:1 %}
<h3><a href="{{ rpost.url }}" title="{{ rpost.title }}" rel="bookmark">{{ rpost.title }}</a></h3>
<p itemprop="description">{{ rpost.description }}</p>
{% endfor %}
</article>
<section class="lotus-double fn-clear">
<article class="article article-first">
<h3>最新文章</h3>
<ul>
{% for npost in site.posts limit:3 offset:2 %}
<li><a href="{{ 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>
<li>
{% for page in site.page %}
<a href="{{ page.url }}" rel="bookmark" title="{{page.text}}">{{ page.text }}</a>
{% if !page.last %}
<span class="lotus-squ">|</span>
{% endif %}
{% endfor %}
</li>
</ul>
</article>
</section>