-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
694 lines (411 loc) · 23.6 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
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/img/favicon-32x32.png">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="theme-color" content="#2f4154">
<meta name="description" content="PHP,Laravel,Linux,Git,hehorange,橙子好好吃,呵呵橙,笔记,随笔">
<meta name="author" content="hehorange">
<meta name="keywords" content="PHP,Laravel,Linux,Git,hehorange,橙子好好吃,呵呵橙,笔记,随笔">
<title>橙子好好吃</title>
<!-- 为观影记录组件添加的 meta 头 -->
<meta name="referrer" content="never">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.staticfile.org/github-markdown-css/4.0.0/github-markdown.min.css" />
<link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/10.0.0/styles/tomorrow-night-eighties.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_fmb4a04yx8h.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_pjno9b9zyxs.css">
<link rel="stylesheet" href="/css/main.css" />
<!-- 自定义样式保持在最底部 -->
<link rel="stylesheet" href="/css/custom.css">
<meta name="generator" content="Hexo 4.2.0"></head>
<body>
<header style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand"
href="/"> <strong>橙子好好吃</strong> </a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/movies/">
<i class="iconfont icon-youtube-fill"></i>
观影</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" data-toggle="modal" data-target="#modalSearch"> <i
class="iconfont icon-search"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="view intro-2" id="background" parallax=true
style="background: url('/img/index_bg.jpg') no-repeat center center;
background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="container text-center white-text fadeInUp">
<span class="h2" id="subtitle">
</span>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-md">
<div class="py-5" id="board"
style=margin-top:0>
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201811/chinese-translation-of-laravel-permission.html" target="_self">
<img src="https://blog-picture.oss-cn-chengdu.aliyuncs.com/20200507125600.png" srcset="/img/loading.gif" alt="laravel-permission 中文翻译">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201811/chinese-translation-of-laravel-permission.html">laravel-permission 中文翻译</a>
<a href="/articles/201811/chinese-translation-of-laravel-permission.html" class="index-excerpt">
<div>初次接触到 spatie/laravel-permission 这个包,没找到中文文档,自己抽空翻译了一下,做了很小部分的删减,基本没影响。
安装此扩展包适用于 Laravel 5.4 或更高版本。可以用 composer 安装:composer require spatie/laravel-permission在 Laravel 5.5 中,服务提供器会被自动注册,而在早一点的版本中,需要手动添</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-11-09
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%BF%BB%E8%AF%91/">翻译</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Laravel-package/">Laravel package</a>
<a href="/tags/laravel-permission/">laravel permission</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201809/hexo-blog-building-records.html" target="_self">
<img src="https://blog-picture.oss-cn-chengdu.aliyuncs.com/20200513000119.jpg" srcset="/img/loading.gif" alt="Hexo 博客搭建记录">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201809/hexo-blog-building-records.html">Hexo 博客搭建记录</a>
<a href="/articles/201809/hexo-blog-building-records.html" class="index-excerpt">
<div>说来惭愧,搭建博客这已经是第三次了,每次都是三分钟热度,一搭好就放那不管了。隔个一年半载,突然又心血来潮,回头一看,坟头草都长满了,当初怎么弄的,完全记不清了。如此往复,太耗心力,虽然再次搭建会比第一次快很多,但还是记录一下,万一~好吧,这次没有万一,仅仅记录,尽量精简。
Hexo 是什么?一款快速、简洁且高效的博客框架,基于 Node.js特点:速度快,支持 Markdown,一键部署,丰富的插</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-09-06
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Hexo/">Hexo</a>
<a href="/tags/GitHub-Pages/">GitHub Pages</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201809/git-learning-notes.html" target="_self">
<img src="https://s1.ax1x.com/2018/09/06/iCVunJ.png" srcset="/img/loading.gif" alt="Git 学习笔记">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201809/git-learning-notes.html">Git 学习笔记</a>
<a href="/articles/201809/git-learning-notes.html" class="index-excerpt">
<div>简单记录,以便之后复习。学习的是 廖雪峰 Git 教程,浅显易懂,循序渐进!Git 官网 有中文文档,有更详细的说明。常用的命令运用熟练已足够,若需要更复杂更高级的操作,就要去查文档了。
什么是 Git?Git 是目前世界上最先进的 分布式版本控制系统。
Git 的诞生:Linus 在 1991 年创建了开源的 Linux,在全世界的热心志愿者参与下,Linux 不断发展壮大,已经成为最大的服务器</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-09-05
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%AC%94%E8%AE%B0/">笔记</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Git/">Git</a>
<a href="/tags/GitHub/">GitHub</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201809/sublime-text-from-installation-to-configuration.html" target="_self">
<img src="https://blog-picture.oss-cn-chengdu.aliyuncs.com/20200513000147.jpg" srcset="/img/loading.gif" alt="Sublime Text从安装到配置">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201809/sublime-text-from-installation-to-configuration.html">Sublime Text从安装到配置</a>
<a href="/articles/201809/sublime-text-from-installation-to-configuration.html" class="index-excerpt">
<div>安装从 Sublime Text 官网
下载安装包,然后安装(默认的扩展包文件夹装在 C 盘,不习惯,选择另一种)
下载移动版,解压后使用(推荐)
自此之前,先认识两个快捷键,以后会经常用到:
ctrl+shift+p 打开命令面板(menu: Tools > Command Palette)
ctrl+` 打开控制台(menu: View > Show Console)
基本</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-09-04
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%94%9F%E4%BA%A7%E7%8E%AF%E5%A2%83/">生产环境</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Sublime-Text/">Sublime Text</a>
<a href="/tags/Package-Control/">Package Control</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201809/let-sublime-text-support-browser-preview.html" target="_self">
<img src="/img/index_post.jpg" srcset="/img/loading.gif" alt="让Sublime Text支持浏览器中预览">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201809/let-sublime-text-support-browser-preview.html">让Sublime Text支持浏览器中预览</a>
<a href="/articles/201809/let-sublime-text-support-browser-preview.html" class="index-excerpt">
<div>原文链接:https://imququ.com/post/view-sublime-text-2-file-in-browser.html
此方法是用 Python 来新建一个插件。原文是在 Sublime Text2 版本下,在 ST3 下仍然可用。
一、新建插件点击菜单 Tools -> Developer -> New Plugin,在创建好的 py 文件输入下列内容:
impo</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-09-03
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%94%9F%E4%BA%A7%E7%8E%AF%E5%A2%83/">生产环境</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Sublime-Text/">Sublime Text</a>
</div>
</div>
</div>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/articles/201809/markdown-writing-under-sublime-text.html" target="_self">
<img src="https://blog-picture.oss-cn-chengdu.aliyuncs.com/20200513000142.png" srcset="/img/loading.gif" alt="Sublime Text 下的 Markdown 写作">
</a>
</div>
<div class="col-12 col-md-8 mx-auto index-info">
<a class="index-header" href="/articles/201809/markdown-writing-under-sublime-text.html">Sublime Text 下的 Markdown 写作</a>
<a href="/articles/201809/markdown-writing-under-sublime-text.html" class="index-excerpt">
<div>安装 Markdown Preview按下键 Ctrl+Shift+p 调出命令面板,找到 Package Control:install Pakage 这一项。搜索 Markdown Preview,选择安装。
快捷键绑定从菜单 Preferences -> Key Bindings 打开快捷键设置页,添加以下代码:{ "keys": ["alt+m"</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i> 2018-09-01
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E7%94%9F%E4%BA%A7%E7%8E%AF%E5%A2%83/">生产环境</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Sublime-Text/">Sublime Text</a>
<a href="/tags/Markdown/">Markdown</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<a id="scroll-top-button" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v"
for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
<!-- APlayer 音乐播放器 -->
<div id="aplayer"></div>
<script defer src="https://cdn.staticfile.org/aplayer/1.10.1/APlayer.min.js" ></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/aplayer/1.10.1/APlayer.min.css" />
<script type="text/javascript">
var oldLoadAp = window.onload;
window.onload = function () {
oldLoadAp && oldLoadAp();
new APlayer({
container: document.getElementById('aplayer'),
fixed: true,
autoplay: 'false' === 'true',
loop: 'all',
order: 'random',
theme: '#b7daff',
preload: 'none',
audio: [{"name":"Black","artist":"Danger Mouse$Daniele Luppi","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/Black%20-%20Danger%20Mouse%26Daniele%20Luppi.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000001hw1hV2MsSjb.jpg"},{"name":"U-Turn","artist":"Nicola Piovani","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/U-Turn%20%28Lili%29%20-%20Nicola%20Piovani.mp3","cover":"https://p3.music.126.net/FP1JjtVkmkkipdKTI7rhLw==/1684451813758720.jpg"},{"name":"拒绝情话","artist":"庆庆","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E6%8B%92%E7%BB%9D%E6%83%85%E8%AF%9D%20-%20%E5%BA%86%E5%BA%86.mp3","cover":"https://p3.music.126.net/rG7zE6K3A373UH8XHI_NqQ==/109951163400201893.jpg"},{"name":"アイロニ","artist":"majiko","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E3%82%A2%E3%82%A4%E3%83%AD%E3%83%8B%20-%20majiko.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000004GC5gr1Djev0.jpg"},{"name":"萨琳娜","artist":"张尧","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E8%90%A8%E7%90%B3%E5%A8%9C%20-%20%E5%BC%A0%E5%B0%A7.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000000kT79D3XFaYJ.jpg"},{"name":"絆","artist":"miu-clips","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E7%B5%86%20-%20miu-clips.mp3","cover":"5TLKyo1Ta7Yg==/109951163338271797.jpg"},{"name":"圆","artist":"AGA","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E5%9C%86%20-%20AGA.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000000V9yae4XbyxL.jpg"},{"name":"充电器","artist":"コアラモード","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E5%85%85%E7%94%B5%E5%99%A8%20-%20%E3%82%B3%E3%82%A2%E3%83%A9%E3%83%A2%E3%83%BC%E3%83%89.mp3","cover":"https://p3.music.126.net/hLC4zRBvnQslwmx19EJCvQ==/18565253836759289.jpg"},{"name":"记昨日书","artist":"伏仪","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E8%AE%B0%E6%98%A8%E6%97%A5%E4%B9%A6%20-%20%E4%BC%8F%E4%BB%AA.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000004dZ9EI1JDzsW.jpg"},{"name":"The Flood","artist":"Joshua Hyslop","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/The%20Flood%20-%20Joshua%20Hyslop.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M0000037uJuv3VB1Do.jpg"},{"name":"雨下一整晚","artist":"周杰伦","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E9%9B%A8%E4%B8%8B%E4%B8%80%E6%95%B4%E6%99%9A%20-%20Jay.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M000000bviBl4FjTpO.jpg"},{"name":"Think Again","artist":"Kate Havnevik","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/Think%20Again%20-%20Kate%20Havnevik.mp3","cover":"https://p3.music.126.net/XfcPoljRr2ONWK3A40fa2g==/827932255760293.jpg"},{"name":"It Takes A Lot To Konw A Man","artist":"Damien Rice","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/It%20Takes%20A%20Lot%20To%20Konw%20A%20Man%20-%20Damien%20Rice.mp3","cover":"https://y.gtimg.cn/music/photo_new/T002R300x300M0000018GfAl2V7XR8.jpg"},{"name":"日が落ちるまで","artist":"ハンバート ハンバート","url":"https://blog-musics.oss-cn-shanghai.aliyuncs.com/%E6%97%A5%E3%81%8C%E8%90%BD%E3%81%A1%E3%82%8B%E3%81%BE%E3%81%A7%20-%20%E3%83%8F%E3%83%B3%E3%83%90%E3%83%BC%E3%83%88%20%E3%83%8F%E3%83%B3%E3%83%90%E3%83%BC%E3%83%88.mp3","cover":"https://p3.music.126.net/RqP5ECFl5Qy-x-obsuudKQ==/938982930120740.jpg"}]
});
}
</script>
<footer class="mt-5">
<div class="text-center py-3">
<!-- 一言 -->
<p id="hitokoto" style="font-weight: bold;font-size: 17px;color: #4ecdc4;">好好学习,天天向上</p>
<p id="from" style="font-style: italic;color: #1a535c"></p>
<div>
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
<i class="iconfont icon-love" style="color: #ff6b6b"></i>
<a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener">
<span>Fluid</span></a>
</div>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js" ></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.4.1/js/bootstrap.min.js" ></script>
<script src="/js/main.js" ></script>
<script src="/js/lazyload.js" ></script>
<script defer src="https://cdn.staticfile.org/clipboard.js/2.0.6/clipboard.min.js" ></script>
<script src="/js/clipboard-use.js" ></script>
<!-- Plugins -->
<!-- Baidu Analytics -->
<script defer>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?3a1762ce87be0b3e32c5317edbad11c1";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://cdn.staticfile.org/typed.js/2.0.11/typed.min.js" ></script>
<script>
var typed = new Typed('#subtitle', {
strings: [
' ',
"对未来的真正慷慨,是把一切都奉献给现在 ",
],
cursorChar: "_",
typeSpeed: 70,
loop: false,
});
typed.stop();
$(document).ready(function () {
$(".typed-cursor").addClass("h2");
typed.start();
});
</script>
<script src="https://cdn.staticfile.org/anchor-js/4.2.2/anchor.min.js" ></script>
<script>
anchors.options = {
placement: "right",
visible: "hover",
};
var el = "h1,h2,h3,h4,h5,h6".split(",");
var res = [];
for (item of el) {
res.push(".markdown-body > " + item)
}
anchors.add(res.join(", "))
</script>
<script src="/js/local-search.js" ></script>
<script>
var path = "/local-search.xml";
var inputArea = document.querySelector("#local-search-input");
inputArea.onclick = function () {
searchFunc(path, 'local-search-input', 'local-search-result');
this.onclick = null
}
</script>
<!-- 加入一言 -->
<script>
fetch('https://v1.hitokoto.cn?c=d&c=i&c=k')
.then(response => response.json())
.then(data => {
const hitokoto = document.getElementById('hitokoto')
hitokoto.innerText = '“' + data.hitokoto + '”'
const from = document.getElementById('from')
from.innerText = '——— 《' + data.from + '》'
})
.catch(console.error)
</script>
</body>
</html>