-
Notifications
You must be signed in to change notification settings - Fork 364
/
_config.yml
709 lines (699 loc) · 31.8 KB
/
_config.yml
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
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
title: wu-kan # 站点标题
description: | # 头像背后的信息(html格式),<br/>代表换行
<a href="mailto:site@wu-kan.cn">
<i class="fa-solid fa-envelope"></i>
</a>
<a href="https://github.com/wu-kan">
<i class="fa-brands fa-github"></i>
</a>
<a href="https://scholar.google.com/citations?user=aU9P37UAAAAJ">
<i class="fa-brands fa-google-scholar"></i>
</a>
<a href="https://orcid.org/0009-0008-5828-847X">
<i class="fa-brands fa-orcid"></i>
</a>
<a href="https://vjudge.net/user/WuK">
<i class="fa-solid fa-smile"></i>
</a>
<a href="https://space.bilibili.com/166390020">
<i class="fa-brands fa-bilibili"></i>
</a>
<a href="https://www.zhihu.com/people/wukan0621">
<i class="fa-brands fa-zhihu"></i>
</a>
<br/>
水野爱、佐贺偶像是传奇、吹响吧!上低音号、FGO、以及我的黑柴犬吴豆豆
<br/>
「奏でろ 荒ぶる魂」
<br/>
“我的灵魂奏出绝响”
baseurl: "" # 假如你的博客是建在某个目录下的,请在这里加上目录名,并且下面配置的所有链接里的`/assets`前也要加,即`/your_baseurl/assets`。这一项结尾不要有'/'。
defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/front-matter-defaults/>功能进行配置
- scope:
path: "" # an empty string here means all files in the project
values: # 以下配置项也可以在任意页面自定义
jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
comments: # 留言页,请先修改这里,确保使用的是你自己的repo!参照<https://utteranc.es/>
append: |
<script
repo="wu-kan/utterances-storage"
src="https://utteranc.es/client.js"
issue-term="url"
theme="github-light"
crossorigin="anonymous"
async="async"
></script>
default:
body:
theme-base: theme-base-07 # 可选的主题色包括08~0f,见 <https://github.com/poole/lanyon>
layout-reverse: true # 开启后sidebar在右边,反之左边
sidebar-overlay: true # 开启后正文不随sidebar移动而移动
html_lang: zh # <https://www.w3school.com.cn/tags/html_ref_language_codes.asp>
sidebar: # 此配置项下是一些关于侧边栏的配置
disable: false # 是否不显示sidebar
avatar: # 侧边栏显示的头像
enable: true
img: https://gravatar.loli.net/avatar/289efba375d63424de3c49569c446744?s=320 # 头像的地址
nav: # 导航部分的内容,你也可以自己增加文字、图标(来自fontawesome)和对应的链接
- title: '<i class="fa-solid fa-home fa-fw"></i> 首页'
href: /
- title: '<i class="fa-solid fa-comment fa-fw"></i> 留言'
href: /comments/
- title: '<i class="fa-solid fa-archive fa-fw"></i> 归档'
href: /archive/
- title: '<i class="fa-solid fa-tags fa-fw"></i> 标签'
href: /tags/
- title: '<i class="fa-solid fa-coffee fa-fw"></i> 打赏'
href: /merger/
simple_jekyll_search: # 侧边栏的全站搜索
enable: true
full_text_search: false # 可能导致缓慢的搜索和加载
append: | # 如果看不懂就不改
<style>
#sidebar-search-input {
background: none;
border: none;
color: White;
width: 100%;
}
#sidebar-search-results-container {
overflow: hidden hidden;
max-height: 66.6vh;
}
#sidebar-search-results-container:hover {
overflow: auto auto;
}
</style>
<input
id="sidebar-search-input"
placeholder="搜索博文"
/>
<ol
id="sidebar-search-results-container"
></ol>
<script
src='https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.9.1'
async='async'
onload='
SimpleJekyllSearch({
json: "/assets/simple-jekyll-search/search.json",
searchInput: document.getElementById("sidebar-search-input"),
resultsContainer: document.getElementById("sidebar-search-results-container"),
searchResultTemplate: `<li><a href="{url}">{title}</a></li>`,
limit: 99,
fuzzy: true
})'
></script>
jekyll-toc: # 侧边栏的目录插件,https://github.com/allejo/jekyll-toc
enable: true
prepend: | # 目录过长时自动折叠
<style>
#toc {
overflow: hidden hidden;
max-height: 66.6vh;
}
#toc:hover{
overflow: auto auto;
}
</style>
prepend_to_sidebar:
#- <script defer="defer" src="https://cdn.jsdelivr.net/gh/poole/lanyon@v1.1.0/public/js/script.min.js"></script> # 点击空白处而非按钮从而关闭侧边栏的插件,可选
- | # 侧边栏使用主题色
<style>
#sidebar-checkbox:checked ~ .sidebar-toggle,
.sidebar,
.sidebar-toggle:active {
background-color: var(--theme-base-color);
}
</style>
- | # 修复点击侧边栏按钮回到顶部的问题
<style>
.sidebar-checkbox {
display: none;
}
.sidebar-toggle {
position: fixed;
background: none;
}
</style>
- | # 修复侧边栏特定情况下抖动的问题,感谢 [@AmachiInori](https://github.com/wu-kan/wu-kan.github.io/issues/11)
<style>
.sidebar {
overflow: hidden;
min-height: 101%;
}
.sidebar:hover{
overflow-y: scroll;
}
</style>
- | # 侧边栏头像效果
<style>
.effect {
margin: 1rem;
perspective: 900px;
}
.effect-info {
text-align: center;
position: absolute;
top: 0;
width: 100%;
transform-style: preserve-3d;
}
.effect-img {
z-index: 11;
width: 100%;
height: 100%;
position: relative;
transition: all 0.5s ease-in-out;
}
.effect-img:before {
position: absolute;
display: block;
}
.effect-right_to_left .effect-img {
transform-origin: 0% 50%;
}
.effect-right_to_left:hover .effect-img {
transform: rotate3d(0, 1, 0, -180deg);
}
</style>
append_to_sidebar:
- | # 不蒜子页面统计,看不懂可不改
<div>
<div>
<i class="fa-solid fa-eye fa-fw"></i>
<span id="busuanzi_value_page_pv">
<i class="fa-solid fa-spinner fa-pulse"></i>
</span>
<br/>
<i class="fa-solid fa-paw fa-fw"></i>
<span id="busuanzi_value_site_pv">
<i class="fa-solid fa-spinner fa-pulse"></i>
</span>
<br/>
<i class="fa-solid fa-user-friends fa-fw"></i>
<span id="busuanzi_value_site_uv">
<i class="fa-solid fa-spinner fa-pulse"></i>
</span>
</div>
<script
src="https://cdn.jsdelivr.net/npm/busuanzi@2.3/bsz.pure.mini.js"
async="async"
></script>
</div>
- | # 觉得我的主题好用的话,让更多的人知道它吧!
<div>
<i class="fa-solid fa-thumbs-up fa-fw"></i>
<a href="https://jekyll-theme-WuK.wu-kan.cn">
jekyll-theme-WuK
</a>
</div>
- | # Copyright声明
<div>
<i class="fa-solid fa-copyright fa-fw"></i>
2017-2024 WuK
</div>
wordcount: # 全站字数统计
enable: false # 本地调试时建议关闭,非常影响站点生成速度(所需时间与博文数量的平方成正比)
prepend: <i class="fa-solid fa-user-edit fa-fw"></i>
kilo: 千
unit: 字
append_to_head: # 通过内嵌html的方式引入并定制插件,删改前确定知道自己在做什么。定制插件的方式可以参考这篇文章 <https://wu-kan.cn/_posts/2019-01-18-基于Jekyll搭建个人博客/>
- | # jsdelivr 防挂脚本(已注释,挂了再去掉),来自 https://github.com/PipecraftNet/jsdelivr-auto-fallback/blob/0.2.2/index.min.js
<script>
// (n=>{"use strict";let r,s,e;const l=["cdn.jsdelivr.net","fastly.jsdelivr.net","gcore.jsdelivr.net","cdn.zenless.top","testingcf.jsdelivr.net","test1.jsdelivr.net"],t="//",a=l[0],i=Date.now(),o=2e3,c="jsdelivr-auto-fallback",f="/gh/PipecraftNet/jsdelivr-auto-fallback@main/empty.css?",d=e=>e&&e.includes(t+a),m=e=>e.replace(t+a,t+r),u=window.setTimeout,v=n.querySelectorAll.bind(n),g=()=>{let e,t;for(e of v('link[rel="stylesheet"]'))t=e.href,d(t)&&!t.includes(f)&&(e.href=m(t));for(e of v("script"))if(t=e.src,d(t)){const r=n.createElement("script");r.src=m(t),e.defer=!0,e.src="",e.before(r),e.remove()}for(e of v("img"))t=e.src,d(t)&&(e.src="",e.src=m(t));for(e of v("*[style]"))t=e.getAttribute("style"),d(t)&&e.setAttribute("style",m(t));for(e of v("style"))t=e.innerHTML,d(t)&&(e.innerHTML=m(t))},y=()=>{!e&&s&&r&&(console.warn(a+" is not available. Use "+r),e=!0,u(g,0),u(g,20),setInterval(g,500))},b=(()=>{try{return Object.assign({},JSON.parse(localStorage.getItem(c)||"{}"))}catch{return{}}})();var h=()=>{b.time=i,b.failed=!1,b.fastNode=null;for(const t of l)((e,t)=>{let r;const s=n.createElement("link"),l=e=>{r&&(clearTimeout(r),r=0,e||(s.href="data:text/plain;base64,"),s.remove(),t(e))};r=u(l,o),s.addEventListener("error",()=>l(!1)),s.addEventListener("load",()=>l(!0)),s.rel="stylesheet",s.text="text/css",s.href=e+f+i,n.head.insertAdjacentElement("afterbegin",s)})("https://"+t,e=>{e||t!==a||(s=!0,b.failed=!0),e&&!r&&(r=t),e&&!b.fastNode&&(b.fastNode=t),y()});u(()=>{s&&!r&&(r=l[1],y()),localStorage.setItem(c,JSON.stringify(b))},o+100)};b.time&&i-b.time<36e5&&b.failed&&b.fastNode?(s=!0,r=b.fastNode,y(),u(h,1e3)):h()})(document);
</script>
- | # 自定义主题色(水野爱蓝),可对应 <https://www.runoob.com/cssref/css-colornames.html> 挑选
<style>
.theme-base-07 {
--theme-base-color: DarkSlateBlue;
}
</style>
- | # 页面加载动画,可在 <https://css-loaders.com/> 挑选
<style>
.loader-wrapper {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: white;
z-index: 999;
display: flex;
justify-content: center;
align-items: center;
}
.loader {
width: calc(6*30px);
height: 50px;
display: flex;
color: var(--theme-base-color);
filter: drop-shadow(30px 25px 0 currentColor) drop-shadow(60px 0 0 currentColor) drop-shadow(120px 0 0 currentColor);
clip-path: inset(0 100% 0 0);
animation: l12 2s infinite steps(7);
}
.loader:before {
content: "";
width: 30px;
height: 25px;
--c:no-repeat radial-gradient(farthest-side,currentColor 92%,#0000);
background:
var(--c) left /70% 70%,
var(--c) right/20% 20%,
var(--c) top 0 right 15%/20% 20%,
var(--c) bottom 0 right 15%/20% 20%;
}
@keyframes l12 {
100% {clip-path: inset(0 -30px 0 0)}
}
</style>
<script>
document.addEventListener("DOMContentLoaded", (event) => {
for(let x of document.getElementsByClassName("loader-wrapper")) {
x.remove();
}
});
</script>
- | # 一些页面优化标签,看不懂可跳过
<meta
name="viewport"
content="width=device-width,minimum-scale=1,initial-scale=1"
/>
<meta
http-equiv="content-type"
content="text/html; charset=utf-8"
/>
<link
rel="alternate"
href="/feed.xml"
title="RSS"
type="application/rss+xml"
/>
- | # 网站小图标,可换成你自己的图片,改href中的部分即可
<link
rel="apple-touch-icon-precomposed"
href="https://gravatar.loli.net/avatar/289efba375d63424de3c49569c446744?s=320"
/>
<link
rel="shortcut
icon"
href="https://gravatar.loli.net/avatar/289efba375d63424de3c49569c446744?s=32"
/>
- | # 来自lanyon的页面样式,不要改
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/combine/gh/poole/lanyon@v1.1.0/public/css/poole.min.css,gh/poole/lanyon@v1.1.0/public/css/lanyon.min.css,gh/poole/lanyon@v1.1.0/public/css/syntax.min.css"
/>
- | # fontawesome图标;标题和引用之前插一个图标
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css"
/>
- | # 侧边栏放缩修正
<style>
.wrap {
transition-property: width,background-size,transform;
transition-duration: .3s;
transition-timing-function: ease-in-out;
display: inline-block;
}
@media screen and (min-width: 28rem) {
.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
width: calc(100% - 14rem);
transform: translateX(14rem);
}
.layout-reverse.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
transform: translateX(0);
}
}
</style>
- | # 修复行内图片默认样式
<style>
img {
display: inline-block;
margin: 0;
}
</style>
- | # 自定义滚动条,仅对Chrome系浏览器生效
<style>
::-webkit-scrollbar {
width: 3px;
height: 3px;
}
::-webkit-scrollbar-thumb {
background-color: Gray;
}
</style>
- | # 防止代码块过长
<style>
@media only screen {
pre {
white-space: pre;
max-height: 66.6vh;
padding: 0 1rem;
overflow: hidden hidden;
}
pre:hover {
overflow: auto auto;
}
}
</style>
- | # 链接样式修正
<style>
.container a,
.related-posts li a:hover {
color: var(--theme-base-color);
}
</style>
- | # <https://zenozeng.github.io/fonts.css/>,跨平台中文字体解决方案
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/monaspace-xenon@5.1.0/index.min.css" />
<link rel='stylesheet' href='https://chinese-fonts-cdn.deno.dev/packages/jyhpws/dist/%E6%9E%81%E5%BD%B1%E6%AF%81%E7%89%87%E6%96%87%E5%AE%8B/result.css' />
<style>
.sidebar, html, h1, h2, h3, h4, h5, h6, code, pre {
font-family: "Monaspace Xenon", "极影毁片文宋 Medium", "Courier New", "Courier", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, monospace;
}
</style>
page:
title: # 为每个页面自动生成一个 H1 title
enable: true
prepend:
- | # 选中字体颜色
<style>
::selection {
color: White;
background: Black;
}
</style>
- | # 调整标题样式
<style>
h1, h2, h3, h4, h5, h6 {
margin: 2rem 0rem 1.5rem 0rem;
border-bottom: 1px solid Black;
}
</style>
- | # 表格样式美化
<style>
td,
th {
padding: 0px;
border: 0px;
}
table {
border: 0px;
}
table tbody {
display: block;
overflow: scroll;
}
table thead,
tbody tr {
display: table;
table-layout: fixed;
width: 100%;
}
</style>
- | # 列表项增加行距
<style>
.content li {
margin: .25rem;
}
</style>
- | # 首行缩进2字符
<style>
p {
text-indent: 2rem;
}
p img {
max-width: calc(100% - 4rem);
}
</style>
- | # 增加宽屏下的显示内容
<style>
.container {
min-width: 66.6%;
min-height: 100vh;
}
@media only print {
.container {
min-width: 100%;
}
}
</style>
- |
<style>
.container.content {
padding: 2rem;
}
</style>
plugin:
- smart_include:
enable: true
key: $
append:
| # 对KaTeX过长公式渲染超出页面的修正,感谢[@AmachiInori](https://github.com/wu-kan/wu-kan.github.io/issues/13)
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css"
/>
<style>
.katex-display>.katex {
white-space: normal;
}
</style>
<script
src="https://cdn.jsdelivr.net/combine/npm/katex@0.16.11/dist/katex.min.js,npm/katex@0.16.11/dist/contrib/auto-render.min.js"
async="async"
onload='renderMathInElement(document.body, { delimiters: [{left: "$$", right: "$$", display: true}, { left: "$", right: "$", display: false }, {left: "\\(", right: "\\)", display: false}, {left: "\\[", right: "\\]", display: true}]})'
></script>
- smart_include:
enable: true
key: language-vega-lite
append: |
<style>
pre.language-vega-lite,
code.language-vega-lite {
display: none;
}
</style>
<script
src="https://cdn.jsdelivr.net/combine/npm/vega@5.30.0,npm/vega-lite@5.21.0,npm/vega-embed@6.26.0"
async="async"
onload='
for(let x of document.getElementsByClassName("language-vega-lite"))
if(x.nodeName=="CODE")
{
let m = document.createElement("div");
x.parentNode.insertAdjacentElement("beforebegin", m);
vegaEmbed(m, JSON.parse(x.textContent));
}'
></script>
- smart_include:
enable: true
key: language-mermaid
append: |
<style>
pre.language-mermaid,
code.language-mermaid {
display: none;
}
@media only screen {
.mermaid {
overflow: hidden hidden;
max-width: 100%;
max-height: 66.6vh;
}
.mermaid {
overflow: auto auto;
}
}
</style>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@11.3.0/dist/mermaid.min.js"
async="async"
onload='
for(let x of document.getElementsByClassName("language-mermaid"))
if(x.nodeName=="CODE")
{
let m = document.createElement("div");
m.classList.add("mermaid");
m.textContent = x.textContent;
x.parentNode.insertAdjacentElement("beforebegin", m);
}'
></script>
- smart_include:
enable: false
append: |
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/sakana-widget@2.7.0/lib/sakana.min.css"
/>
<script>
function initSakanaWidget() {
const mizuno = SakanaWidget.getCharacter('takina');
mizuno.image = `https://mizuno-ai.wu-kan.cn/pixiv/75805052_p0.webp`;
SakanaWidget.registerCharacter('mizuno', mizuno);
let sakana = document.createElement("div");
sakana.style.bottom = "0";
sakana.style.right = "0";
sakana.style.zIndex = "1";
sakana.style.position = "fixed";
document.body.insertAdjacentElement("beforeend", sakana);
new SakanaWidget({ character: 'mizuno' }).mount(sakana);
}
</script>
<script
async
onload="initSakanaWidget()"
src="https://cdn.jsdelivr.net/npm/sakana-widget@2.7.0/lib/sakana.min.js"
></script>
post:
date: # 显示博文时间
enable: true
prepend: <i class="fa-solid fa-calendar-day fa-fw"></i>
wordcount: # 统计全文字数
enable: true
prepend: <i class="fa-solid fa-file-word fa-fw"></i>
unit: 字
readtime: # 计算文章阅读时间
enable: true
prepend: <i class="fa-solid fa-clock fa-fw"></i>
unit: 分
divided_by: 300 # 正常人的阅读速度大概每分钟三百个字
copyright:
| # 我的文章使用最宽松的知识共享协议:署名 4.0 国际 (CC BY 4.0)。您可以自由地:共享 — 在任何媒介以任何形式复制、发行本作品;演绎 — 修改、转换或以本作品为基础进行创作;在任何用途下,甚至商业目的。只要你遵守许可协议条款,许可人就无法收回你的这些权利。惟须遵守下列条件:署名 — 您必须给出适当的署名,提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书。
<br/>
<i class="fab fa-creative-commons-by fa-fw"></i>
<a
href="https://creativecommons.org/licenses/by/4.0/deed.zh"
rel="license">
CC BY 4.0
</a>
(除特别声明或转载文章外)
<br/>
<i class="fa-solid fa-coffee fa-fw"></i>
<a href="/merger/">如果这篇博客帮助到你,可以请我喝一杯咖啡~</a>
merger: # 打赏页,需要配置!
append_to_head:
- | # 需要配置的变量见<https://merger.justhx.com/cn/docs/configure>
<script>
var myname = "WuK";
var profile = "i@wu-kan.cn";
var usage = "payment";
var wechat = "wxp://f2f0BhUoIC_9gex7-tC2PRvVuoA486mK5WyC";
var tenpay = "https://i.qianbao.qq.com/wallet/sqrcode.htm?m=tenpay&f=wallet&a=1&ac=CAEQ77zFwQMY-6u57gU%3D_xxx_sign&u=942759535&n=%E8%94%9A";
var alipay = "https://qr.alipay.com/fkx02750b5kbplxvudqrx16";
var paypal = "https://paypal.me/wukan0621";
var multilingual = false;
var branding = false;
var title = "选择你的支付方式";
var subtitle = "跟随进一步的指示以向" + myname + "付款";
var qrcodeapi = "https://www.zhihu.com/qrcode?url=";
var gravatar_url = "https://gravatar.loli.net/avatar/";
</script>
- |
<meta
charset="utf-8"
/>
<meta
name="viewport"
content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta
http-equiv="Content-Security-Policy"
content="upgrade-insecure-requests"
/>
- | # merger的页面样式
<link rel="stylesheet" href="https://cdn.jsdelivr.net/combine/gh/hifocus/merger@0.26.1/assets/styles/spectre.css/spectre-modified.min.css,gh/hifocus/merger@0.26.1/assets/styles/style.min.css">
<script defer="defer" src="https://cdn.jsdelivr.net/combine/npm/jquery@3.5.1"></script>
<script defer="defer" src="https://cdn.jsdelivr.net/combine/gh/lrsjng/jquery-qrcode@0.18.0/dist/jquery-qrcode.min.js,npm/blueimp-md5@2.18.0/js/md5.min.js,gh/hifocus/merger@0.26.1/assets/js/function.min.js,gh/hifocus/merger@0.26.1/assets/js/font_974919_xgtacm93vxp.min.js"></script>
home: # 展示页的配置可跳过,详见<https://revealjs.com/>
append_to_section_tag:
- key: data-markdown
- key: data-separator # 水平展示页分隔符
value: <!-- .slide -->
- key: data-separator-vertical # 垂直展示页分隔符
value: <!-- .slide vertical=true -->
- key: data-background-color
value: "White"
prepend: |
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/combine/npm/reveal.js@5.1.0/dist/reveal.min.css,npm/reveal.js@5.1.0/dist/theme/serif.min.css"
/>
<style>
.sidebar {
line-height: 1.5;
}
.reveal .slides {
text-align: left;
}
.reveal a,
.reveal a:hover,
.reveal a:focus {
color: inherit;
border-bottom: 1px solid var(--theme-base-color);
}
</style>
append: |
<script
src="https://cdn.jsdelivr.net/combine/npm/reveal.js@5.1.0/dist/reveal.min.js,npm/reveal.js@5.1.0/plugin/markdown/markdown.min.js,npm/reveal.js@5.1.0/plugin/math/math.min.js,npm/reveald3@2.0.0/reveald3.min.js,npm/reveal.js-mermaid-plugin@2.3.0/plugin/mermaid/mermaid.min.js"
onload="
for(let x of document.getElementsByClassName('wrap'))
x.classList.add('reveal');
Reveal.initialize({
scrollActivationWidth: null,
height: '100%',
mouseWheel: true,
navigationMode: 'linear',
plugins: [ RevealMarkdown,RevealMath.KaTeX,Reveald3,RevealMermaid ]
});
"></script>
compress_html: # <https://github.com/penibelst/jekyll-compress-html>
clippings: all
comments: [] # 注释不能压缩,否则 reveal.js 的 ppt切屏受影响
endings: all
ignore:
envs: all # 暂时关掉页面压缩
blanklines: false
profile: false
startings: []
# githubpage上支持的插件见<https://pages.github.com/versions/>
plugins: # <https://jekyllrb.com/docs/plugins/>
- jekyll-readme-index # 使用readme做index,从而和github渲染效果一致
- jekyll-default-layout # 为每个markdown自动生成layout
- jekyll-seo-tag # 为每个页面生成标题
- jekyll-sitemap # 为站点生成站点地图
- jekyll-feed # 为站点生成RSS源
- jekyll-redirect-from # 站点页面重定向
- jekyll-remote-theme # 使用remote_theme插件实现主题的前后分离,详见<https://github.com/benbalter/jekyll-remote-theme/>
remote_theme: https://github.com/wu-kan/jekyll-theme-WuK@4.3.0 #使用固定版本号以防止主题更新导致站点显示错乱
readme_index: # 缺失index.md和index.html时,使用README.md代替之
with_frontmatter: true # 支持带有yaml头的README
webmaster_verifications: # <https://jekyll.github.io/jekyll-seo-tag/usage/>
google: YIKi1rBnyUaS-DMYiluseI5kZzTwjCkTFmKkSkMZDJk
baidu: szbTSfUGAB
permalink: pretty
timezone: Asia/Shanghai # 解决githubpage显示时间不正确的问题,见<https://www.iana.org/time-zones>
future: true # 允许发布时间在未来的文章
# limit_posts: 999 # 限制博文数量
# encoding: utf-8
markdown: kramdown
kramdown: # 见<https://kramdown.gettalong.org/options.html>
input: GFM # 见<http://jekyllcn.com/docs/configuration/#kramdown>
syntax_highlighter_opts: # 可见<https://kramdown.gettalong.org/syntax_highlighter/rouge.html>
block:
disable: false
line_numbers: false #渲染出来的效果好鬼畜
span:
disable: false
# 以下为 githubpage上不可修改的参数,见<https://help.github.com/en/github/working-with-github-pages/about-github-pages-and-jekyll>
#lsi: false # 为相关文章生成索引
#safe: true # 禁用自定义插件
#source: [your repo's top level directory] # Jekyll 读取文件的路径
#incremental: false # 增量生成
#highlighter: rouge # 代码高亮器
#gist:
# noscript: false
#kramdown:
# math_engine: mathjax
# syntax_highlighter: rouge