forked from anzhiyu-c/hexo-theme-anzhiyu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
1357 lines (1208 loc) · 40.2 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
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
menu:
文章:
封存: /archives/ || anzhiyu-icon-box-archive
分類: /categories/ || anzhiyu-icon-shapes
標籤: /tags/ || anzhiyu-icon-tags
# 友鏈:
# 友人帳: /link/ || anzhiyu-icon-link
# 朋友圈: /fcircle/ || anzhiyu-icon-artstation
# 留言板: /comments/ || anzhiyu-icon-envelope
收藏:
工具: /stars/ || fas fa-star
MMD相關: /mmdcollect/ || fas fa-at
委託:
委託說明: /commission/ || fas fa-heart
委託進度表: https://nagongze.notion.site/f266ad5110e040f59e4e5f973318b4fb?v=532c28cd1a43441abdca926879c3c0d0 || fas fa-calendar-days
委託表單: https://tally.so/r/n9NQdp || fas fa-list-check
我的:
# 音樂館: /music/ || anzhiyu-icon-music
# 巴拉巴拉: /talks/ || fas fa-comment
追番頁: /bangumis/ || anzhiyu-icon-bilibili
圖片庫: /album/ || anzhiyu-icon-images
留言板: /comments/ || anzhiyu-icon-envelope
提問板: /question/ || fas fa-question
關於:
關於本人: /about/ || anzhiyu-icon-paper-plane
碎碎念: /essay/ || anzhiyu-icon-lightbulb
隨便逛逛: javascript:toRandomPost() || anzhiyu-icon-shoe-prints1
# nav相關配置
nav:
enable: true
travelling: false
clock: false
randompost: false
menu:
- title: 主要
item:
- name: 部落格
link: https://www.nagongze.me/
icon: https://storage.nagongze.me/file/favicon.png
- name: 傳送門
link: https://portaly.cc/nagongze
icon: https://storage.nagongze.me/file/favicon.png
- title: MMD素材
item:
- name: MMD素材規範
link: /mmd-data-rules/
icon: https://storage.nagongze.me/file/favicon.png
- name: 素材下載
link: /downloads/
icon: https://storage.nagongze.me/file/favicon.png
# Code Blocks (程式碼相關)
# --------------------------------------
highlight_theme: mac # darker / pale night / light / ocean / mac / mac light / false
highlight_copy: true # copy button
highlight_lang: true # show the code language
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
highlight_height_limit: 330 # unit: px
code_word_wrap: false
# copy settings
# copyright: Add the copyright information after copied content (複制的內容後面加上版權資訊)
copy:
enable: true
copyright:
enable: true
limit_count: 50
# social settings (社交圖示設定)
# formal:
# name: link || icon
social:
Lit.link: http://lit.link/en/nagongze || fas fa-link
# Email: mailto:contact@nagongze.me || fas fa-envelope
# RSS: atom.xml || anzhiyu-icon-rss
# 作者卡片 狀態
author_status:
enable: false
status: ✍️
alias: writing_hand
fallback_src: https://github.githubassets.com/images/icons/emoji/unicode/270d.png
text: on Studying
skills:
# - 🤖️ 數碼科技愛好者
# - 🔍 分享與熱心幫助
# - 🏠 智慧家居小能手
# - 🔨 設計開發一條龍
# - 🤝 專修互動與設計
# - 🏃 腳踏實地行動派
# - 🧱 團隊小組發動機
# - 💢 壯漢人狠話不多
# search (搜尋)
# see https://butterfly.js.org/posts/ceeb73f/#搜尋系統
# --------------------------------------
# Algolia search
algolia_search:
enable: false
hits:
per_page: 6
# Docsearch
# Apply and Docs: see https://docsearch.algolia.com/
# Crawler Admin Console: see https://crawler.algolia.com/
# Settings: https://www.algolia.com/
docsearch:
enable: false
appId: # see email
apiKey: # see email
indexName: # see email
option:
placeholder: 'Ctrl/⌘ + K 喚醒搜尋服務'
maxResultsPerGroup: 7
translations:
button:
buttonText: '搜尋'
buttonAriaLabel: '搜尋'
modal:
searchBox:
resetButtonTitle: '清空'
resetButtonAriaLabel: '清空'
cancelButtonText: '取消'
cancelButtonAriaLabel: '取消'
startScreen:
recentSearchesTitle: '最近搜尋歷史'
noRecentSearchesText: '搜尋歷史為空'
saveRecentSearchButtonTitle: '儲存搜尋記錄'
removeRecentSearchButtonTitle: '清除搜尋記錄'
favoriteSearchesTitle: '收藏夾'
removeFavoriteSearchButtonTitle: '移出收藏夾'
errorScreen:
titleText: '未能獲取搜尋結果'
helpText: '您可能需要檢查您的網路連線'
footer:
selectText: '選擇'
selectKeyAriaLabel: '回車鍵'
navigateText: '切換'
navigateUpKeyAriaLabel: '方向鍵上'
navigateDownKeyAriaLabel: '方向鍵下'
closeText: '關閉'
closeKeyAriaLabel: '退出鍵'
searchByText: '搜尋服務提供: DocSearch by'
noResultsScreen:
noResultsText: '未搜尋到相關內容'
suggestedQueryText: '您可嘗試搜尋'
reportMissingResultsText: '確認搜尋結果是正確的?'
reportMissingResultsLinkText: '反饋給Algolia'
# Local search
local_search:
enable: true
preload: true
CDN:
# Math (數學)
# --------------------------------------
# About the per_page
# if you set it to true, it will load mathjax/katex script in each page (true 表示每一頁都載入js)
# if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter)
# (false 需要時載入,須在使用的 Markdown Front-matter 加上 mathjax: true)
# MathJax
mathjax:
enable: false
per_page: false
# KaTeX
katex:
enable: false
per_page: false
hide_scrollbar: true
# Image (圖片設定)
# --------------------------------------
# Favicon(網站圖示)
favicon: https://storage.nagongze.me/file/favicon.png
# Avatar (頭像)
avatar:
img: https://storage.nagongze.me/file/avatar.jpeg
effect: false
# Disable all banner image
disable_top_img: false
# The banner image of home page
index_img: false # "background: url() top / cover no-repeat"
# If the banner of page not setting, it will show the top_img
default_top_img: false
cover:
# display the cover or not (是否顯示文章封面)
index_enable: true
aside_enable: true
archives_enable: true
# the position of cover in home page (封面顯示的位置)
# left/right/both
position: left
# When cover is not set, the default cover is displayed (當沒有設定cover時,預設的封面顯示)
default_cover:
- /img/default_cover.jpg
# Replace Broken Images (替換無法顯示的圖片)
error_img:
flink: /img/friend_404.gif
post_page: /img/404.jpg
stars: /img/friend_404.gif
mmdcollect: /img/friend_404.gif
# A simple 404 page
error_404:
enable: true
subtitle: "請嘗試站內搜尋尋找文章"
background: https://bu.dusays.com/2023/05/08/645907596997d.gif
post_meta:
page: # Home Page
date_type: both # created or updated or both 主頁文章日期是建立日或者更新日或都顯示
date_format: date # date/relative/simple 顯示日期還是相對日期 或者 簡單日期
categories: true # true or false 主頁是否顯示分類
tags: true # true or false 主頁是否顯示標籤
label: true # true or false 顯示描述性文字
post:
date_type: both # created or updated or both 文章頁日期是建立日或者更新日或都顯示
date_format: date # date/relative 顯示日期還是相對日期
categories: true # true or false 文章頁是否顯示分類
tags: true # true or false 文章頁是否顯示標籤
label: true # true or false 顯示描述性文字
unread: false # true or false 文章未讀功能
# 主色調相關配置
mainTone:
enable: true # true or false 文章是否啟用獲取圖片主色調
mode: api # cdn/api/both cdn模式為圖片url+imageAve引數獲取主色調,api模式為請求API獲取主色調,both模式會先請求cdn引數,無法獲取的情況下將請求API獲取
# 專案地址:https://github.com/anzhiyu-c/img2color-go
api: https://img2color-go-nagongze.vercel.app/api?img= # mode為api時可填寫
cover_change: true # 整篇文章跟隨cover修改主色調
# wordcount (字數統計)
# see https://butterfly.js.org/posts/ceeb73f/#字數統計
wordcount:
enable: true
post_wordcount: true
min2read: true
total_wordcount: true
# Display the article introduction on homepage
# 1: description
# 2: both (if the description exists, it will show description, or show the auto_excerpt)
# 3: auto_excerpt (default)
# false: do not show the article introduction
index_post_content:
method: 1
length: 100 # if you set method to 2 or 3, the length need to config
# anchor
# when you scroll in post, the URL will update according to header id.
anchor: true
# Post
# --------------------------------------
# toc (目錄)
toc:
post: true
page: false
number: true
expand: false
style_simple: false # for post
post_copyright:
enable: true
decode: false
author_href: /about/
license: CC BY-NC-ND 4.0
license_url: https://creativecommons.org/licenses/by-nc-nd/4.0/
avatarSinks: false # hover時頭像下沉
copyright_author_img_back:
copyright_author_img_front:
copyright_author_link: /
# Sponsor/reward
reward:
enable: true
QR_code:
- img: https://storage.nagongze.me/file/reward/qr-pcpay.png
link: https://p.ecpay.com.tw/5689491
text: 綠界
- img: https://storage.nagongze.me/file/reward/qr-kofi.png
link: https://ko-fi.com/nagongze
text: Ko-fi
- img: https://storage.nagongze.me/file/reward/qr-crypto1.png
link: https://nowpayments.io/donation/nagongzeTW
text: 加密貨幣
- img: https://storage.nagongze.me/file/reward/qr-wechat.png
link:
text: 微信支付
- img: https://storage.nagongze.me/file/reward/qr-alipay.png
link:
text: 支付寶
# Post edit
# Easily browse and edit blog source code online.
post_edit:
enable: false
# github: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
# For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
github: false
# yuque: https://www.yuque.com/usename/repo/
# 示例: https://www.yuque.com/yuque/yuque/
# 你需要在语雀文章 Front Matter 添加参数 id 并确保其唯一性(例如 “id: yuque”, “id: 01”)
yuque: false
# Related Articles
related_post:
enable: true
limit: 3 # Number of posts displayed
date_type: created # or created or updated 文章日期顯示建立日或者更新日
# figcaption (圖片描述文字)
photofigcaption: true
# post_pagination (分頁)
# value: 1 || 2 || false
# 1: The 'next post' will link to old post
# 2: The 'next post' will link to new post
# false: disable pagination
post_pagination: 2
# Displays outdated notice for a post (文章過期提醒)
noticeOutdate:
enable: true
style: simple # style: simple/flat
limit_day: 90 # When will it be shown
position: top # position: top/bottom
message_prev: 本文章更新於
message_next: 天前,內容可能會與現在資訊有些出入,請斟酌調整或在<a href="#post-comment">下方留言</a>內詢問
# Share System (分享功能)
# --------------------------------------
# Share.js
# https://github.com/overtrue/share.js
sharejs:
enable: false
sites: facebook,twitter,wechat,weibo,qq
# AddToAny
# https://www.addtoany.com/
addtoany:
enable: false
item: facebook,twitter,wechat,sina_weibo,email,copy_link
# Comments System
# --------------------------------------
comments:
# Up to two comments system, the first will be shown as default
# Choose: Valine/Waline/Twikoo/Artalk
use: Waline # Twikoo/Waline
text: true # Display the comment name next to the button
# lazyload: The comment system will be load when comment element enters the browser's viewport.
# If you set it to true, the comment count will be invalid
lazyload: false
count: true # Display comment count in post's top_img
card_post_count: true # Display comment count in Home Page
# valine
# https://valine.js.org
valine:
appId: xxxxx # leancloud application app id
appKey: xxxxx # leancloud application app key
pageSize: 10 # comment list page size
avatar: mp # gravatar style https://valine.js.org/#/avatar
lang: zh-CN # i18n: zh-CN/zh-TW/en/ja
placeholder: 填寫QQ郵箱就會使用QQ頭像喔~. # valine comment input placeholder (like: Please leave your footprints)
guest_info: nick,mail,link # valine comment header info (nick/mail/link)
recordIP: false # Record reviewer IP
serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
bg: /img/comment_bg.png # valine background
emojiCDN: //i0.hdslb.com/bfs/emote/ # emoji CDN
enableQQ: true # enable the Nickname box to automatically get QQ Nickname and QQ Avatar
requiredFields: nick,mail # required fields (nick/mail)
visitor: false
master:
- xxxxx
friends:
- xxxxxx
tagMeta: "博主,小夥伴,訪客"
option:
# waline - A simple comment system with backend support fork from Valine
# https://waline.js.org/
waline:
serverURL: https://waline.nagongze.me # Waline server address url
bg: https://storage.nagongze.me/file/bg7.png # waline background
pageview: false
meta: false # 地址, 操作系统 前是否显示图标
option:
search: false
emoji: false
ImgurID: 2fbda3ce4adb4df
meta: ["nick", "mail"]
locale:
profile: 個人資料
approved: 通過
waiting: 待審
spam: 燒毀
oldest: 按倒序
latest: 按正序
hottest: 按熱門度
sticky: 釘選
unsticky: 取消釘選
login: 登入
logout: 登出
admin: 雫雫
anonymous: 陌生人
nick: 暱稱
mail: 信箱
link: 網址
refresh: 重新整理
placeholder: |
1. 暱稱留空可變匿名留言。
2. 填寫信箱可收到Email通知。
3. 圖片可直接貼上。
4. 想修改留言需要登入帳號。
sofa: 目前還沒有留言,來當第一個吧!
submit: 傳送
reply: 回覆
cancelReply: 取消回覆
comment: 留言
preview: 預覽
emoji: 表情
seconds: 秒前
minutes: 分鐘前
hours: 小時前
days: 天前
now: 剛剛
word: 字
more: 載入更多...
gifSearchPlaceholder: 搜尋GIF...
uploadImage: 上傳圖片
uploading: 正在上傳...
mailError: 請填寫正確的信箱地址
nickError: 暱稱不能少於3個字元
wordHint: 留言字數應在 $0 到 $1 字之間!\n當前字數:$2
# Twikoo
# https://github.com/imaegoo/twikoo
twikoo:
envId:
region:
visitor: false
option:
# Artalk
# https://artalk.js.org/guide/frontend/config.html
artalk:
server:
site:
visitor: false
option:
# Chat Services
# --------------------------------------
# Chat Button [recommend]
# It will create a button in the bottom right corner of website, and hide the origin button
chat_btn: false
# The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down
chat_hide_show: false
# chatra
# https://chatra.io/
chatra:
enable: false
id:
# tidio
# https://www.tidio.com/
tidio:
enable: false
public_key:
# daovoice
# http://daovoice.io/
daovoice:
enable: false
app_id:
# crisp
# https://crisp.chat/en/
crisp:
enable: false
website_id:
# Footer Settings
# --------------------------------------
footer:
owner:
enable: true
since: 2022
custom_text:
runtime:
enable: true
launch_time: 05/31/2022 00:00:00 # 網站上線時間
# work_img: 'https://img.shields.io/static/v1?label=宮沢雫&message=工作time&color=ff69b4&style=social&logo=aiqfome'
work_img: 'https://storage.nagongze.me/file/shields/shields-work.svg'
work_description: 什麼時候可以做家裡蹲呢~
# offduty_img: 'https://img.shields.io/static/v1?label=宮沢雫&message下班Happy&color=ff69b4&style=social&logo=aiqfome'
offduty_img: 'https://storage.nagongze.me/file/shields/shields-offduty.svg'
offduty_description: 下班了就該看惡女漫啊!
# 徽標部分配置項 https://shields.io/
# https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr
bdageitem:
enable: false
list:
- link: https://hexo.io/ #徽標指向網站連結
shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Frame-Hexo.svg #徽標API
message: 部落格框架為Hexo_v5.4.0 #徽標提示語
- link: https://blog.anheyu.com/
shields: https://npm.elemecdn.com/anzhiyu-theme-static@1.0.9/img/Theme-AnZhiYu-2E67D3.svg
message: 本站使用AnZhiYu主題
# - link: https://www.dogecloud.com/
# shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/CDN-多吉雲-3693F3.svg
# message: 本站使用多吉雲為靜態資源提供CDN加速
# - link: https://github.com/
# shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Source-Github.svg
# message: 本站專案由Github託管
# - link: http://creativecommons.org/licenses/by-nc-sa/4.0/
# shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/Copyright-BY-NC-SA.svg
# message: 本站採用知識共享署名-非商業性使用-相同方式共享4.0國際許可協議進行許可
socialBar:
enable: true
centerImg:
left:
- title: 個人主頁
link: https://www.nagongze.me/
icon: fa-solid fa-compass
- title: Twitter
link: https://twitter.com/nagongze
icon: fab fa-twitter
- title: Youtube
link: https://www.youtube.com/@nagongze
icon: fab fa-youtube
right:
- title: Discord
link: https://discord.gg/QGuuHputJk
icon: fab fa-discord
- title: 信箱
link: mailto:contact@nagongze.me
icon: fa-solid fa-envelope
- title: 留言板
link: /comments/
icon: fa-solid fa-comment
list:
enable: true
randomFriends: 0
project:
- title: 直達
links:
- title: 工具安利
link: /stars/
- title: MMD相關推薦
link: /mmdcollect/
- title: 留言板
link: /comments/
- title: 關於
links:
- title: 關於我
link: /about/
- title: RSS訂閱
link: /atom.xml
- title: 網站分析
link: https://ackee.nagongze.me/
- title: 分類
links:
- title: MMD基本
link: /categories/MMD/MMD基本
- title: MMD小知識
link: /categories/MMD/MMD小知識
- title: 檢視全部
link: /categories/
- title: 規範
links:
- title: 網站食用說明
link: /rules/
- title: MMD素材規範
link: /mmd-data-rules/
- title: 網站規範
link: /copyright/
footerBar:
enable: true
authorLink: /
cc:
enable: true
link: /copyright/
linkList:
- link: https://github.com/anzhiyu-c/hexo-theme-anzhiyu
text: 主題
# - link: https://image.anheyu.com
# text: 圖床
# - link: https://beian.miit.gov.cn/
# text: 湘ICP備-xxxxxxx號
subTitle:
enable: false
# Typewriter Effect (打字效果)
effect: true
# Effect Speed Options (打字效果速度引數)
startDelay: 300 # time before typing starts in milliseconds
typeSpeed: 150 # type speed in milliseconds
backSpeed: 50 # backspacing speed in milliseconds
# loop (迴圈打字)
loop: true
# source 呼叫第三方服務
# source: false 關閉呼叫
# source: 1 呼叫一言網的一句話(簡體) https://hitokoto.cn/
# source: 2 呼叫一句網(簡體) http://yijuzhan.com/
# source: 3 呼叫今日詩詞(簡體) https://www.jinrishici.com/
# subtitle 會先顯示 source , 再顯示 sub 的內容
source: 1
# 如果關閉打字效果,subtitle 只會顯示 sub 的第一行文字
sub:
# - 生活明朗, 萬物可愛, 人間值得, 未來可期.
# Analysis
# --------------------------------------
# Baidu Analytics
# https://tongji.baidu.com/web/welcome/login
baidu_analytics:
# Google Analytics
# https://analytics.google.com/analytics/web/
google_analytics:
# CNZZ Analytics
# https://www.umeng.com/
cnzz_analytics:
# Cloudflare Analytics
# https://www.cloudflare.com/zh-tw/web-analytics/
cloudflare_analytics:
# Microsoft Clarity
# https://clarity.microsoft.com/
microsoft_clarity:
# Advertisement
# --------------------------------------
# Google Adsense (谷歌廣告)
google_adsense:
enable: false
auto_ads: true
js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
client:
enable_page_level_ads: true
# Insert ads manually (手動插入廣告)
# ad:
# index:
# aside:
# post:
# Verification (站長驗證)
# --------------------------------------
site_verification:
- name: google-site-verification
content: xxx
- name: baidu-site-verification
content: code-xxx
- name: msvalidate.01
content: xxx
# Beautify/Effect (美化/效果)
# --------------------------------------
# Theme color for customize
# Notice: color value must in double quotes like "#000" or may cause error!
theme_color:
enable: true
main: "#8382C5"
dark_main: "#DF91BF"
paginator: "#8382C5"
# button_hover: "#FF7242"
text_selection: "#2128bd"
link_color: "var(--anzhiyu-fontcolor)"
meta_color: "var(--anzhiyu-fontcolor)"
hr_color: "#4259ef23"
code_foreground: "#fff"
code_background: "var(--anzhiyu-code-stress)"
toc_color: "#8382C5"
# blockquote_padding_color: "#8382C5"
# blockquote_background_color: "#8382C5"
scrollbar_color: "var(--anzhiyu-scrollbar)"
meta_theme_color_light: "#f7f9fe"
meta_theme_color_dark: "#18171d"
# 文章h2新增分隔線
h2Divider: false
# 表格隔行變色
table_interlaced_discoloration: true
# 首頁雙欄顯示
article_double_row: false
# The top_img settings of home page
# default: top img - full screen, site info - middle (預設top_img全屏,site_info在中間)
# The position of site info, eg: 300px/300em/300rem/10% (主頁標題距離頂部距離)
index_site_info_top:
# The height of top_img, eg: 300px/300em/300rem (主頁top_img高度)
index_top_img_height:
# The user interface setting of category and tag page (category和tag頁的UI設定)
# index - same as Homepage UI (index 值代表 UI將與首頁的UI一樣)
# default - same as archives UI 預設跟archives頁面UI一樣
category_ui: # 留空或 index
tag_ui: # 留空或 index
# Footer Background
footer_bg: false
# the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/預設單位為px)
rightside-bottom: 100px
# Background effects (背景特效)
# --------------------------------------
# canvas_ribbon (靜止綵帶背景)
# See: https://github.com/hustcc/ribbon.js
canvas_ribbon:
enable: false
size: 150
alpha: 0.6
zIndex: -1
click_to_change: false
mobile: false
# Fluttering Ribbon (動態綵帶)
canvas_fluttering_ribbon:
enable: false
mobile: false
# canvas_nest
# https://github.com/hustcc/canvas-nest.js
canvas_nest:
enable: false
color: "0,0,255" #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
opacity: 0.7 # the opacity of line (0~1), default: 0.5.
zIndex: -1 # z-index property of the background, default: -1.
count: 99 # the number of lines, default: 99.
mobile: false
# Typewriter Effect (打字效果)
# https://github.com/disjukr/activate-power-mode
activate_power_mode:
enable: false
colorful: true # open particle animation (冒光特效)
shake: false # open shake (抖動特效)
mobile: false
# Mouse click effects: fireworks (滑鼠點選效果: 煙火特效)
fireworks:
enable: false
zIndex: 9999 # -1 or 9999
mobile: false
# Mouse click effects: Heart symbol (滑鼠點選效果: 愛心)
click_heart:
enable: false
mobile: false
# Mouse click effects: words (滑鼠點選效果: 文字)
ClickShowText:
enable: false
text:
# - I
# - LOVE
# - YOU
fontSize: 15px
random: false
mobile: false
# Default display mode (網站預設的顯示模式)
# light (default) / dark
display_mode: light
# Beautify (美化頁面顯示)
beautify:
enable: true
field: post # site/post
title-prefix-icon: '\f0c1'
title-prefix-icon-color: "#F47466"
# Global font settings
# Don't modify the following settings unless you know how they work (非必要不要修改)
font:
global-font-size: 16px
code-font-size:
font-family:
code-font-family: consolas, Menlo, "PingFang TC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif
# Font settings for the site title and site subtitle
# 左上角網站名字 主頁居中網站名字
blog_title_font:
font_link:
font-family: PingFang TC, 'Hiragino Sans TC', 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif
# The setting of divider icon (水平分隔線圖示設定)
hr_icon:
enable: true
icon: \f0c4 # the unicode value of Font Awesome icon, such as '\f0c4'
icon-top:
# the subtitle on homepage (主頁subtitle)
subtitle:
enable: false
# Typewriter Effect (打字效果)
effect: true
# Effect Speed Options (打字效果速度引數)
startDelay: 300 # time before typing starts in milliseconds
typeSpeed: 150 # type speed in milliseconds
backSpeed: 50 # backspacing speed in milliseconds
# loop (迴圈打字)
loop: true
# source 呼叫第三方服務
# source: false 關閉呼叫
# source: 1 呼叫一言網的一句話(簡體) https://hitokoto.cn/
# source: 2 呼叫一句網(簡體) http://yijuzhan.com/
# source: 3 呼叫今日詩詞(簡體) https://www.jinrishici.com/
# subtitle 會先顯示 source , 再顯示 sub 的內容
source: 1
# 如果關閉打字效果,subtitle 只會顯示 sub 的第一行文字
sub:
# - 生活明朗,萬物可愛,人間值得,未來可期.
# Loading Animation (載入動畫)
preloader:
enable: true
# source
# 1. fullpage-loading
# 2. pace (progress bar)
# else all
source: 3
# pace theme (see https://codebyzach.github.io/pace/)
pace_css_url:
avatar: https://storage.nagongze.me/file/loading.gif # 自定義頭像
# aside (側邊欄)
# --------------------------------------
aside:
enable: true
hide: false
button: true
mobile: true # display on mobile
position: right # left or right
display: # 控制對應詳情頁面是否顯示側邊欄
archive: true
tag: true
category: true
card_author:
enable: true
description: <div style="line-height:1.38;margin:0.6rem 0;text-align:justify;color:rgba(255, 255, 255, 0.8);">這個網站是有關於<b style="color:#fff">MMD</b>相關的教學和小撇步,還有<b style="color:#fff">我自己的一些小點子</b>。<br>相信你可以在這裡找到對你有用的<b style="color:#fff">教學</b>和<b style="color:#fff">想法</b>。</div>
name_link: /about/
card_announcement:
enable: true
content: 歡迎來看我的部落格鴨~
card_weixin:
enable: false
face: https://bu.dusays.com/2023/01/13/63c02edf44033.png
backFace: https://bu.dusays.com/2023/05/13/645fa415e8694.png
card_recent_post:
enable: true
limit: 5 # if set 0 will show all
sort: date # date or updated
sort_order: # Don't modify the setting unless you know how it works
card_categories:
enable: false
limit: 8 # if set 0 will show all
expand: none # none/true/false
sort_order: # Don't modify the setting unless you know how it works
card_tags:
enable: true
limit: 40 # if set 0 will show all
color: false
sort_order: # Don't modify the setting unless you know how it works
highlightTags:
# - Hexo
# - 前端
card_archives:
enable: true
type: monthly # yearly or monthly
format: MMMM YYYY # eg: YYYY年MM月
order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
limit: 0 # if set 0 will show all
sort_order: # Don't modify the setting unless you know how it works
card_webinfo:
enable: true
post_count: true
last_push_date: false
sort_order: # Don't modify the setting unless you know how it works
# busuanzi count for PV / UV in site
# 訪問人數
busuanzi:
site_uv: true
site_pv: true
page_pv: true
# Time difference between publish date and now (網頁執行時間)
# Formal: Month/Day/Year Time or Year/Month/Day Time
runtimeshow:
enable: true
publish_date: 5/31/2022 00:00:00
# Aside widget - Newest Comments
newest_comments:
enable: true
sort_order: # Don't modify the setting unless you know how it works
limit: 5
storage: 10 # unit: mins, save data to localStorage
avatar: true
# Bottom right button (右下角按鈕)
# --------------------------------------
# Conversion between Traditional and Simplified Chinese (簡繁轉換)
translate:
enable: true
# The text of a button
default: 簡
# Right-click menu default text
rightMenuMsgDefault: "轉為簡體"
# the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
defaultEncoding: 1
# Time delay
translateDelay: 0
# The text of the button when the language is Simplified Chinese
msgToTraditionalChinese: "繁"
# The text of the button when the language is Traditional Chinese
msgToSimplifiedChinese: "簡"
# Right-click the menu to traditional Chinese
rightMenuMsgToTraditionalChinese: "轉為繁體"
# Right-click menu to simplified Chinese
rightMenuMsgToSimplifiedChinese: "轉為簡體"
# Read Mode (閲讀模式)
readmode: true
# 中控臺
centerConsole: true
# dark mode
darkmode:
enable: true
# Toggle Button to switch dark/light mode
button: true
# Switch dark/light mode automatically (自動切換 dark mode和 light mode)
# autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
# autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
# autoChangeMode: false
autoChangeMode: 1
start: 8
end: 22
# Don't modify the following settings unless you know how they work (非必要請不要修改 )
# Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
# Don't repeat 不要重複
rightside_item_order:
enable: false
hide: # readmode,translate,darkmode,hideAside
show: # toc,chat,comment
# Lightbox (圖片大圖檢視模式)
# --------------------------------------
# You can only choose one, or neither (只能選擇一個 或者 兩個都不選)
# medium-zoom
# https://github.com/francoischalifour/medium-zoom
medium_zoom: false