-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
199 lines (197 loc) · 7.26 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
---
layout: content
title: kailian
tagline: ''
---
{% include JB/setup %}
<div id="blog-container">
<div id="particles-js"></div>
<div class="container">
<div class="row">
<a class="v-fork-me" href="https://github.com/kailian/kailian.github.io" target="_blank">
<img src="/images/forkme_right_darkblue.png" alt="Fork me on GitHub">
</a>
<div class="col-md-12 pin-container">
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-heading">
<span class="glyphicon glyphicon-home"></span>
最新文章
</div>
<div class="panel-body">
{% for post in paginator.posts %}
<div class="article-list col-md-12">
<div class="article-header">
<h4>
<a href="{{ BASE_PATH }}{{ post.url }}">【{{ post.categories }}】{{ post.title }}</a>
</h4>
<span class="show-icon-margin">
<span class="glyphicon glyphicon-list-alt"></span>
<a href="/tags.html#{{ post.categories }}-ref">{{ post.categories }}</a>
</span>
<span class="show-icon-margin">
<span class="glyphicon glyphicon-time show-icon-margin"></span>
{{ post.date | date: "%F" }}
</span>
<span class="show-icon-margin">
<span class="glyphicon glyphicon-tag"></span>
{% unless post.tags == empty %}
{% for tag in post.tags %}
<a class="icon-margin" href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }}</a>
{% endfor %}
{% endunless %}
</span>
</div>
<div class="article-margin blog-content blog-index">
{{ post.content | split:'<!--break-->' | first }}
<a href="{{ post.url }}">显示全文</a>
</div>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="blog-center">
<ul class="pagination">
{% if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">«</a></li>
{% else %}
<li class="disabled"><a href="#">«</a></li>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li class="active"><a href="#">{{ page }}</a></li>
{% elsif page == 1 %}
<li>
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
</li>
{% else %}
<li>
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
</li>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">»</a></li>
{% else %}
<li class="disabled"><a href="#">»</a></li>
{% endif %}
</ul >
{% endif %}
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-body">
<span class="col-xs-4"><a href="/2014/08/24/bad-apple"><img src="/images/badapple.gif"></a></span>
<span class="col-xs-4"><h4>知行合一</h4></span>
<span class="col-xs-4"><h4>和而不同</h4></span>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<span class="glyphicon glyphicon-tags icon-margin"></span>
标签
</div>
<div class="panel-body">
{% for tag in site.tags %}
<div class="tag-box">
<a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref" class="tag">
{{ tag[0] }}<span class="sup">{{ tag[1].size }}</span>
</a>
</div>
{% endfor %}
</div>
</div>
<div>
<div class="panel panel-default">
<div class="panel-heading">
<span class="glyphicon glyphicon-folder-open icon-margin"></span>
分类目录
</div>
<div class="panel-body">
<div class="list-group">
{% for category in site.categories %}
<a class="list-group-item" href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category | first }}-ref">
{{ category | first }}
<span class="badge">{{ category | last | size }}</span>
</a>
{% endfor %}
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<span class="glyphicon glyphicon-tasks icon-margin"></span>
关于
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item">
<span class="glyphicon glyphicon-paperclip icon-margin"></span>RSS:
<a type="button" class="btn btn-default btn-sm" href="/rss.xml" target="_blank">订阅</a>
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-list-alt icon-margin"></span>
博客文章统计:{{ paginator.total_posts }}
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-download-alt icon-margin"></span></span>
博客源代码:<a type="button" class="btn btn-default btn-sm" href="https://github.com/kailian/kailian.github.io">kailian.github.io</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="blog-footer">
<div class="container blog-center">
Copyright © 2014-{{ site.time | date: '%Y' }} <a href="https://github.com/kailian">{{ site.author.name }}</a> All Rights Reserved
</div>
</footer>
<style type="text/css">
#particles-js {
position: fixed;
width: 100%;
height: 100%;
}
@media (max-width:800px) {
#particles-js {
display: none;
}
}
</style>
<script src="/assets/particles/particles.js"></script>
<script type="text/javascript">
particlesJS.load('particles-js', 'assets/particles/particles.json', function() {
//console.log('callback - particles.js config loaded');
});
</script>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
L2Dwidget.init({
"model": {
jsonPath: "https://unpkg.com/live2d-widget-model-miku@1.0.5/assets/miku.model.json",
"scale": 1
},
"display": {
"position": "right",
"width": 100,
"height": 150,
"hOffset": 0,
"vOffset": 250
},
"mobile": {
"show": true,
"scale": 0.5
},
"react": {
"opacityDefault": 0.7,
"opacityOnHover": 0.2
}
});
</script>
</div>