-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (79 loc) · 3.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
layout: post-index
title: Mogara开发者博客
description: "太阳神三国杀开发团队Mogara的博客"
tags: [太阳神上, 太阳神三国杀, 啦啦SLG, 神杀, 自由软件, 三国杀, 虫妹]
comments: false
image:
feature: abstract-1.jpg
credit: dargadgetz
creditlink: http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/
---
{% for post in paginator.posts %}
<article class="hentry">
<header>
{% if post.image.feature %}
<div class="entry-image-index">
<a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}"><img src="{{ site.url }}/images/{{ post.image.feature }}" alt="{{ post.title }}"></a>
</div><!-- /.entry-image -->
{% endif %}
<div class="entry-meta">
<span class="entry-date date published updated"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ site.url }}{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span>
{% if post.author %}
<span class="author vcard"><span class="fn"><a href="{{ site.url }}/about/{{ post.author }}" title="关于 {{ post.author }}">{{ post.author }}</a></span></span>
{% else %}
<span class="author vcard"><span class="fn"><a href="{{ site.url }}/about/" title="关于 {{ site.owner.name }}">{{ site.owner.name }}</a></span></span>
{% endif %}
{% if site.reading_time %}
<span class="entry-reading-time">
<i class="fa fa-clock-o"></i>
{% assign readtime = post.content | number_of_words | divided_by:site.words_per_minute %}
阅读时间 约{% if readtime <= 1 %} 1 分钟{% else %} {{ readtime }} 分钟{% endif %}
</span><!-- /.entry-reading-time -->
{% endif %}
</div><!-- /.entry-meta -->
{% if post.link %}
<h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" class="permalink" rel="bookmark" title="{{ post.title }}"><i class="fa fa-bookmark"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1>
{% else %}
<h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}" itemprop="url">{{ post.title }}</a></h1>
{% endif %}
</header>
<div class="entry-content">
{{ post.content }}
</div><!-- /.entry-content -->
</article><!-- /.hentry -->
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="{{ site.url }}" class="btn">Previous</a>
{% else %}
<a href="{{ site.url }}/page{{ paginator.previous_page }}" class="btn">Previous</a>
{% endif %}
{% else %}
Previous
{% endif %}
<ul class="inline-list">
<li>
{% if paginator.page == 1 %}
<span class="current-page">1</span>
{% else %}
<a href="{{ site.url }}">1</a>
{% endif %}
</li>
{% for count in (2..paginator.total_pages) %}
<li>
{% if count == paginator.page %}
<span class="current-page">{{ count }}</span>
{% else %}
<a href="{{ site.url }}/page{{ count }}">{{ count }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% if paginator.next_page %}
<a href="{{ site.url }}/page{{ paginator.next_page }}" class="btn">Next</a>
{% else %}
Next
{% endif %}
</div><!-- /.pagination -->