-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
491 lines (373 loc) · 14.4 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="author" content="John Doe">
<title>Azt's</title>
<link href="http://yoursite.com" rel="prefetch" />
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/aos.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/aos.js"></script>
<script src="/js/highslide/highslide-full.min.js"></script>
<link rel="stylesheet" href="/js/highslide/highslide.css">
<style type="text/css">
@media (max-width: 768px) {
body {
background-color: #f0f0f0;
background: url('/imgs/xsbg.gif');
background-attachment: fixed;
}
}
</style>
<!--<script type="text/javascript">
if (document.images) {
var avatar = new Image();
avatar.src = '/imgs/avatar.jpg'
var previews = 'preview1.jpg,preview2.jpg,preview3.jpg,preview4.jpg'.split(',')
var previewsPreLoad = []
for(var i = 0; i < length; i++) {
previewsPreLoad.push(new Image())
previewsPreLoad[previewsPreLoad.length - 1].src = '/imgs/preview' + previews[i]
}
}
</script>-->
<meta name="generator" content="Hexo 4.2.0"></head>
<body>
<!-- 背景轮播图功能 -->
<section class="hidden-xs">
<ul class="cb-slideshow">
<li><span>天若</span></li>
<li><span>有情</span></li>
<li><span>天亦老</span></li>
<li><span>我为</span></li>
<li><span>长者</span></li>
<li><span>续一秒</span></li>
</ul>
</section>
<!-- 欧尼酱功能, 谁用谁知道 -->
<header class="navbar navbar-inverse" id="gal-header">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target=".bs-navbar-collapse"
aria-expanded="false">
<span class="fa fa-lg fa-reorder"></span>
</button>
<a href="http://yoursite.com">
<style>
#gal-header .navbar-brand {
height: 54px;
line-height: 24px;
font-size: 28px;
opacity: 1;
background-color: rgba(0,0,0,0);
text-shadow: 0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #228DFF,0 0 35px #228DFF,0 0 40px #228DFF,0 0 50px #228DFF,0 0 75px #228DFF;
}
</style>
<!-- 这里使用文字(navbar_text or config.title) -->
<div class="navbar-brand">Azt's</div>
</a>
</div>
<div class="collapse navbar-collapse bs-navbar-collapse">
<ul class="nav navbar-nav" id="menu-gal">
<li class="current">
<a href="/">
<i class="fa fa-home"></i>首页
</a>
</li>
<li class="">
<a href="/archives">
<i class="fa fa-archive"></i>归档
</a>
</li>
<li class="">
<a href="/categories">
<i class="fa fa-list"></i>分类
</a>
</li>
<li class="">
<a href="/tags">
<i class="fa fa-tags"></i>标签
</a>
</li>
<li class="">
<a href="/about">
<i class="fa fa-user"></i>关于我
</a>
</li>
</ul>
</div>
</div>
</header>
<div id="gal-body">
<div class="container">
<div class="row">
<div class="col-md-8 gal-right" id="mainstay">
<div class="alert well fade in" id="gal-issue" role="alert">
<!-- TODO 添加关闭公告框功能 -->
<button type="button" class="close" data-dismiss="alert">×</button>
<!-- 这里自行配置公告内容 -->
这里是公告内容
<br>
配置相关说明请看<strong>_config.yml</strong>
<!-- 自行配置公告内容结束 -->
</div>
<div id="article-list">
<div class="article well clearfix article-body article-excerpt" data-aos="flip-up">
<div class="data-article hidden-xs">
<span class="month">04月</span>
<span class="day">21</span>
</div>
<!-- 大型设备文章 -->
<section class="hidden-xs">
<div class="title-article">
<h1>
<a href="/2020/04/21/hello-world/">
<span>Hello World</span>
</a>
</h1>
</div>
<div class="tag-article">
<!-- TODO 添加评论统计 -->
<!--<span class="label label-gal">
<i class="fa fa-comments"></i>
<a href="/2020/04/21/hello-world/#comments">739</a>
</span>-->
</div>
<div class="alert alert-gal article-body content-article">
<div class="item">
<a href="/2020/04/21/hello-world/">
<div class="img">
<img src="/imgs/preview/preview3.jpg" alt="Hello World">
</div>
<div class="info">
</div>
</a>
</div>
</div>
</section>
<section class="visible-xs">
<div class="title-article">
<center>
<h4>
<a href="/2020/04/21/hello-world/">
<span>Hello World</span>
</a>
</h4>
</center>
</div>
<p></p>
<center>
<i class="fa fa-calendar"></i> 2020-04-21
</center>
<p></p>
<p></p>
<center>
</center>
<p></p>
<div class="alert alert-gal article-body content-article">
<p style="text-align: center;">
<a href="/2020/04/21/hello-world/">
<img src="/imgs/preview/preview3.jpg" alt="Hello World">
</a>
</p>
</div>
<a class="btn btn-danger pull-right read-more btn-block" href="/2020/04/21/hello-world/">
阅读全文
<!--<span class="badge">739</span>-->
</a>
</section>
</div>
</div>
<!-- 前方最多7个 < 1 2 3 4 5 6 -->
<!-- 前方超过第7页则分为 < 1 ... (n - 3) (n - 2) (n - 1) n, 此时前面为固定的6个 -->
<!-- 后方最多8个 (n + 1) 到 (n + 7) > -->
<!-- 如果末页和当前页相差超过7, 此时后面为固定的6个, (n + 1) (n + 2) (n + 3) ... total > -->
<div id="gal-pagination" class="clearfix">
<ul class="pagination pagination-gal pull-right">
<li class="current">
<span>1</span>
</li>
</ul>
</div>
<!-- 加上这段代码原因: gitment在首页加载时, 如果找不到对应的控件会报错,此处加上,同时设置为none,防止报错 -->
</div>
<aside class="col-md-4 gal-left" id="sidebar">
<!-- 此为sidebar的搜索框, 非搜索结果页面 -->
<aside id="sidebar-search">
<div class="search hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<form class="form-inline clearfix" id="search-form" method="get"
action="/search/index.html">
<input type="text" name="s" class="form-control" id="searchInput" placeholder="搜索文章~" autocomplete="off">
<button class="btn btn-danger btn-gal" type="submit">
<i class="fa fa-search"></i>
</button>
</form>
</div>
</aside>
<aside id="sidebar-author">
<div class="panel panel-gal" data-aos="flip-right" data-aos-duration="3000">
<div class="panel-heading" style="text-align: center">
<i class="fa fa-quote-left"></i>
John Doe
<i class="fa fa-quote-right"></i>
</div>
<div class="author-panel text-center">
<img src="/imgs/avatar.jpg" width="140" height="140"
alt="个人头像" class="author-image">
<p class="author-description"></p>
</div>
</div>
</aside>
<aside id="sidebar-recent_comments">
<div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<div class="panel-heading">
<i class="fa fa-comments"></i>
最新评论
<i class="fa fa-times-circle panel-remove"></i>
<i class="fa fa-chevron-circle-up panel-toggle"></i>
</div>
<ul class="list-group list-group-flush"></ul>
</div>
</aside>
<!-- 要配置好leancloud才能开启此小工具 -->
<aside id="sidebar-recent_posts">
<div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<div class="panel-heading">
<i class="fa fa-refresh"></i>
近期文章
<i class="fa fa-times-circle panel-remove"></i>
<i class="fa fa-chevron-circle-up panel-toggle"></i>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<span class="post-title">
<a href="/2020/04/21/hello-world/">Hello World</a>
</span>
</li>
</ul>
</div>
</aside>
<aside id="sidebar-rand_posts">
<div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<div class="panel-heading">
<i class="fa fa-refresh"></i>
随机文章
<i class="fa fa-times-circle panel-remove"></i>
<i class="fa fa-chevron-circle-up panel-toggle"></i>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<span class="post-title">
<a href="/2020/04/21/hello-world/">Hello World</a>
</span>
</li>
</ul>
</div>
</aside>
<aside id="gal-sets">
<div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
<ul class="nav nav-pills pills-gal">
<li>
<a href="/index.html#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
</li>
<li>
<a href="/index.html#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
</li>
<li>
<a href="/index.html#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
</li>
</ul>
<div class="tab-content">
<div class="cloud-tags tab-pane nav bs-sidenav fade" id="sidebar-tags">
</div>
<div class="friend-links tab-pane nav bs-sidenav fade" id="sidebar-friend-links">
<li>
<a href="http://kdays.net/days/" target="_blank">KDays Forum</a>
</li>
<li>
<a href="http://www.gal123.com/" target="_blank">绅士导航♂</a>
</li>
<li>
<a href="http://www.moe123.com/" target="_blank">萌导航</a>
</li>
</div>
<div class="links tab-pane nav bs-sidenav fade" id="sidebar-links">
<li>
<a href="https://github.com/ZEROKISEKI/" target="_blank">Github</a>
</li>
<li>
<a href="https://coding.net/u/SORA1" target="_blank">Coding</a>
</li>
<li>
<a href="https://www.zhihu.com/people/aonosora/activities" target="_blank">知乎</a>
</li>
</div>
</div>
</div>
</aside>
</aside>
</div>
</div>
</div>
<footer id="gal-footer">
<div class="container">
Copyright © 2018 John Doe Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>. Theme by <a href="https://github.com/ZEROKISEKI" target="_blank">AONOSORA</a>
</div>
</footer>
<!-- 回到顶端 -->
<div id="gal-gotop">
<i class="fa fa-angle-up"></i>
</div>
</body>
<script src="/js/activate-power-mode.js"></script>
<script>
// 配置highslide
hs.graphicsDir = '/js/highslide/graphics/'
hs.outlineType = "rounded-white";
hs.dimmingOpacity = 0.8;
hs.outlineWhileAnimating = true;
hs.showCredits = false;
hs.captionEval = "this.thumb.alt";
hs.numberPosition = "caption";
hs.align = "center";
hs.transitions = ["expand", "crossfade"];
hs.lang.number = '共%2张图, 当前是第%1张';
hs.addSlideshow({
interval: 5000,
repeat: true,
useControls: true,
fixedControls: "fit",
overlayOptions: {
opacity: 0.75,
position: "bottom center",
hideOnMouseOut: true
}
})
// 初始化aos
AOS.init({
duration: 1000,
delay: 0,
easing: 'ease-out-back'
});
</script>
<script>
POWERMODE.colorful = 'true'; // make power mode colorful
POWERMODE.shake = 'true'; // turn off shake
// TODO 这里根据具体情况修改
document.body.addEventListener('input', POWERMODE);
</script>
<script>
window.slideConfig = {
prefix: '/imgs/slide/background',
ext: 'jpg',
maxCount: '6'
}
</script>
<script src="/js/hs.js"></script>
<script src="/js/blog.js"></script>
</html>