hexo-theme-solitude 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +1 -1
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/_config.yml +165 -151
- package/languages/en-US.yml +31 -2
- package/languages/zh-CN.yml +32 -2
- package/languages/zh-TW.yml +147 -0
- package/layout/includes/footer.pug +2 -5
- package/layout/includes/head/config.pug +15 -2
- package/layout/includes/inject/body.pug +13 -4
- package/layout/includes/inject/head.pug +1 -4
- package/layout/includes/layout.pug +4 -0
- package/layout/includes/loading.pug +1 -1
- package/layout/includes/page/album.pug +4 -22
- package/layout/includes/page/gallery.pug +2 -2
- package/layout/includes/page/music.pug +1 -4
- package/layout/includes/page/says.pug +1 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/home/bb/json.pug +3 -2
- package/layout/includes/widgets/home/bb/local.pug +2 -3
- package/layout/includes/widgets/home/bb/memos.pug +4 -2
- package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +6 -3
- package/layout/includes/widgets/page/about/hobbies.pug +2 -2
- package/layout/includes/widgets/page/about/motto.pug +17 -15
- package/layout/includes/widgets/page/about/skillsinfo.pug +38 -36
- package/layout/includes/widgets/page/about/tenyear.pug +1 -1
- package/layout/includes/widgets/page/says/json.pug +13 -9
- package/layout/includes/widgets/page/says/local.pug +1 -1
- package/layout/includes/widgets/page/says/memos.pug +10 -6
- package/layout/includes/widgets/rightside/index.pug +33 -22
- package/package.json +1 -1
- package/plugins.yml +7 -3
- package/scripts/event/cdn.js +5 -1
- package/scripts/event/init.js +18 -19
- package/scripts/event/page.js +0 -5
- package/scripts/filter/checkThemeConfig.js +23 -7
- package/scripts/filter/lazyload.js +2 -3
- package/scripts/generator/gallery.js +47 -0
- package/scripts/helper/related_post.js +0 -6
- package/scripts/helper/stylus.js +8 -3
- package/source/css/_layout/basic.styl +0 -3
- package/source/css/_layout/index.styl +54 -34
- package/source/css/_page/_about/index.styl +49 -0
- package/source/css/_page/{about → _about}/reward.styl +7 -0
- package/source/css/_page/{gallery → _gallery}/index.styl +16 -8
- package/source/css/_page/_home/home-top.styl +125 -302
- package/source/css/_page/_home/index.styl +9 -4
- package/source/css/_page/_home/recent-post.styl +1 -0
- package/source/css/_page/index.styl +3 -152
- package/source/css/_page/share.styl +318 -0
- package/source/css/_widgets/_aside/info.styl +3 -0
- package/source/css/_widgets/_comment/twikoo.styl +1 -1
- package/source/img/loading.gif +0 -0
- package/source/js/covercolor/local.js +11 -11
- package/source/js/main.js +63 -55
- package/source/js/rightside.js +159 -342
- package/source/js/search/algolia.js +1 -3
- package/source/js/search/local.js +1 -3
- package/source/js/tw_cn.js +76 -0
- package/source/js/utils.js +8 -27
- package/layout/includes/page/not_configured.pug +0 -18
- package/scripts/helper/cdn.js +0 -12
- package/source/css/_page/about/index.styl +0 -39
- /package/source/css/_page/{about → _about}/author.styl +0 -0
- /package/source/css/_page/{about → _about}/buff.styl +0 -0
- /package/source/css/_page/{about → _about}/careers.styl +0 -0
- /package/source/css/_page/{about → _about}/contentinfo.styl +0 -0
- /package/source/css/_page/{about → _about}/game.styl +0 -0
- /package/source/css/_page/{about → _about}/like.styl +0 -0
- /package/source/css/_page/{about → _about}/maxim.styl +0 -0
- /package/source/css/_page/{about → _about}/myphoto.styl +0 -0
- /package/source/css/_page/{about → _about}/oneself.styl +0 -0
- /package/source/css/_page/{about → _about}/personalities.styl +0 -0
- /package/source/css/_page/{about → _about}/skills.styl +0 -0
- /package/source/css/_page/{about → _about}/statistic.styl +0 -0
- /package/source/css/_page/{about → _about}/tenyear.styl +0 -0
package/CONTRIBUTING.md
CHANGED
@@ -33,7 +33,7 @@ $ git push
|
|
33
33
|
* 定期使用项目仓库内容更新自己仓库内容。
|
34
34
|
|
35
35
|
```bash
|
36
|
-
$ git remote add upstream https://github.com/
|
36
|
+
$ git remote add upstream https://github.com/wleelw/Hexo-theme-solitude
|
37
37
|
$ git fetch upstream
|
38
38
|
$ git checkout dev
|
39
39
|
$ git rebase upstream/dev
|
package/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|

|
8
8
|

|
9
9
|

|
10
|
-

|
11
11
|

|
12
12
|
|
13
13
|

|
package/README_EN.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|

|
9
9
|

|
10
10
|

|
11
|
-

|
12
12
|

|
13
13
|
|
14
14
|

|
package/_config.yml
CHANGED
@@ -32,12 +32,6 @@ site:
|
|
32
32
|
# 页脚的Logo、加载动画默认的logo
|
33
33
|
# Logo in the footer, default logo for loading animation
|
34
34
|
icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
|
35
|
-
# ICP 例如:湘ICP备2023015327号
|
36
|
-
# ICP, for example: 湘ICP备2023015327号
|
37
|
-
icp:
|
38
|
-
# ICP链接 例如:http://www.beian.miit.gov.cn/
|
39
|
-
# ICP link, for example: http://www.beian.miit.gov.cn/
|
40
|
-
icp_url:
|
41
35
|
|
42
36
|
# 导航栏
|
43
37
|
# navigation bar
|
@@ -62,7 +56,7 @@ nav:
|
|
62
56
|
# icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
|
63
57
|
# # 点击的跳转链接
|
64
58
|
# # Click the jump link
|
65
|
-
# url: https://github.com/
|
59
|
+
# url: https://github.com/wleelw/Hexo-Theme-solitude
|
66
60
|
|
67
61
|
# 导航栏内容
|
68
62
|
# Navigation bar content
|
@@ -274,6 +268,9 @@ aside:
|
|
274
268
|
# tip: 推荐尺寸 26x26
|
275
269
|
# tip: Recommended size 26x26
|
276
270
|
sticker: https://bu.dusays.com/2023/12/30/659011053e246.png
|
271
|
+
# 点击作者名称跳转链接
|
272
|
+
# Click the author name to jump link
|
273
|
+
url: /about/
|
277
274
|
# 文案1
|
278
275
|
# label1
|
279
276
|
# tip:可使用html标签
|
@@ -312,7 +309,7 @@ aside:
|
|
312
309
|
# # 图标
|
313
310
|
# icon: scoicon sco-github-line
|
314
311
|
# # 跳转链接
|
315
|
-
# url: https://github.com/
|
312
|
+
# url: https://github.com/wleelw/Hexo-Theme-slitude
|
316
313
|
# Bilibili:
|
317
314
|
# icon: scoicon sco-bilibili-line
|
318
315
|
# url: https://space.bilibili.com/1329819902
|
@@ -395,100 +392,6 @@ aside:
|
|
395
392
|
# Format: yyyy-MM-dd hh-mm-ss
|
396
393
|
runtime: '2023-04-20 00:00:00'
|
397
394
|
|
398
|
-
# -------------------------
|
399
|
-
# 页面配置
|
400
|
-
# page settings
|
401
|
-
|
402
|
-
# 404 页面
|
403
|
-
# 404 page
|
404
|
-
errorpage:
|
405
|
-
# 图片
|
406
|
-
# image
|
407
|
-
img: https://bu.dusays.com/2023/03/03/6401a7906aa4a.gif
|
408
|
-
# 文字
|
409
|
-
# text
|
410
|
-
text: =awa= 页面走丢了
|
411
|
-
# 推荐文章列表
|
412
|
-
# Recommended article list
|
413
|
-
recommendList: true
|
414
|
-
|
415
|
-
# 即刻说说页
|
416
|
-
# jike says page
|
417
|
-
# 前置要求:需配置即刻说说页面
|
418
|
-
# Pre-requirements: Jike says page needs to be configured
|
419
|
-
# 开启后将显示即刻页面
|
420
|
-
# After opening, the Jike page will be displayed
|
421
|
-
says:
|
422
|
-
enable: false
|
423
|
-
# 主页的即刻轮播条
|
424
|
-
# Jike carousel bar on the homepage
|
425
|
-
home_mini: false
|
426
|
-
# 1:张洪heo样式 / 2:Leonus样式
|
427
|
-
# 1: Zhang Hong heo style / 2: Leonus style
|
428
|
-
style: 1
|
429
|
-
# 即刻短文仅展示前n条
|
430
|
-
# Jike short text only shows the first n
|
431
|
-
strip: 30
|
432
|
-
# 模式选择。local:本地静态 / json:动态json / memos:动态Memos
|
433
|
-
# Mode selection. Local: local static/JSON: dynamic JSON/memory: dynamic Memos
|
434
|
-
mode: local
|
435
|
-
# 动态模式地址。如为json或memos模式,此项为必填。链接获取以及格式可查看主题文档。
|
436
|
-
# Dynamic mode address. If it is in JSON or Memos mode, this field is mandatory. The link acquisition and format can be viewed in the theme document.
|
437
|
-
mode_link: # https://example.com/api/v1/memo?creatorId=1&tag=says
|
438
|
-
|
439
|
-
# -------------------------
|
440
|
-
# meeting-api,用于界面中的音乐胶囊和音乐馆页,可自定义api,不会请勿动。
|
441
|
-
# meeting-api, used for music capsules and music halls in the interface, can customize api, do not move if you don't know.
|
442
|
-
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" #自定义api
|
443
|
-
# 音乐馆页
|
444
|
-
# music hall
|
445
|
-
music:
|
446
|
-
enable: false
|
447
|
-
# 音乐ID:歌单ID / 专辑ID / 歌手ID
|
448
|
-
# Music ID: playlist ID / album ID / singer ID
|
449
|
-
id: 1994908354
|
450
|
-
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
451
|
-
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
452
|
-
server: netease
|
453
|
-
# 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
|
454
|
-
# Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
455
|
-
type: playlist
|
456
|
-
# 初始音量。0.8 = 80%,范围 0 到 1
|
457
|
-
# Initial volume. 0.8 = 80%, range 0 to 1
|
458
|
-
volume: 0.8
|
459
|
-
# 是否开启互斥模式,即同时只能有一个播放器播放
|
460
|
-
# Whether to enable mutex mode, that is, only one player can play at the same time
|
461
|
-
mutex: true
|
462
|
-
|
463
|
-
# 音乐胶囊
|
464
|
-
# capsule music
|
465
|
-
capsule:
|
466
|
-
enable: false
|
467
|
-
id: 8407304077 # 歌单id / playlist id
|
468
|
-
server: netease # 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度 : Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
469
|
-
type: playlist # 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手 : Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
470
|
-
|
471
|
-
# 友链鱼塘
|
472
|
-
# Links fish pond
|
473
|
-
moments:
|
474
|
-
enable: false # 是否开启鱼塘 / Whether to enable fish pond
|
475
|
-
api: # https://blog.wzsco.top/circle/ # api地址 / api address
|
476
|
-
error_img: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg # 加载失败显示图片 / Loading failed display image
|
477
|
-
sort_rule: created # 排序规则:created:按创建时间排序 / updated:按更新时间排序 : Sort rule: created: Sort by creation time / updated: Sort by update time
|
478
|
-
expire_days: 1 # 缓存过期时间(天),默认为1天 / Cache expiration time (days), default is 1 day
|
479
|
-
page_init_number: 10 # 页面初始化加载数量,默认为10条 / Page initialization loading quantity, default is 10
|
480
|
-
page_turning_number: 5 # 页面翻页加载数量,默认为5条 / Page turning loading quantity, default is 5
|
481
|
-
angle: true # 鱼塘随机文章 / Fish pond random article
|
482
|
-
appjs: https://cdn.cbd.int/solitude-source@1.0.3/js/fcircle.min.js # 鱼塘js / Fish pond js
|
483
|
-
bundlejs: https://cdn.cbd.int/solitude-source/js/moment/bundle.min.js # 鱼塘js / Fish pond js
|
484
|
-
randompostjs: https://cdn.cbd.int/solitude-source/js/moment/random_post.min.js # 鱼塘js / Fish pond js
|
485
|
-
|
486
|
-
# 相册
|
487
|
-
# album
|
488
|
-
album:
|
489
|
-
enable: false # 是否开启相册 / Whether to enable album
|
490
|
-
limit: 6 # 单行显示图片数量 / Number of pictures displayed in a single line
|
491
|
-
|
492
395
|
# -------------------------
|
493
396
|
# 文章页、页面配置
|
494
397
|
# post、page settings
|
@@ -563,35 +466,6 @@ post:
|
|
563
466
|
api: https://img2color.wzsco.top/api?img= # api地址 / api address
|
564
467
|
time: 43200000 # api取色间隔(毫秒),默认为12小时 / api color interval (milliseconds), default is 12 hours
|
565
468
|
|
566
|
-
keyboard:
|
567
|
-
enable: false # 是否开启键盘控制 / Whether to enable keyboard control
|
568
|
-
# 键盘控制配置
|
569
|
-
# Keyboard control configuration
|
570
|
-
list:
|
571
|
-
# name: 按键名称
|
572
|
-
# name: Key name
|
573
|
-
# key: 按键
|
574
|
-
# key: Key
|
575
|
-
# func: 方法
|
576
|
-
# func: Function
|
577
|
-
# sco: sco内置方法
|
578
|
-
# sco: sco built-in method
|
579
|
-
# url: 跳转链接
|
580
|
-
# url: Jump link
|
581
|
-
# - name: 关闭快捷键功能
|
582
|
-
# key: K
|
583
|
-
# func: keyboard
|
584
|
-
# - name: 打开中控台
|
585
|
-
# key: A
|
586
|
-
# sco: showConsole
|
587
|
-
# - name: 播放/暂停音乐
|
588
|
-
# key: M
|
589
|
-
# sco: musicToggle
|
590
|
-
# - name: 打开友情链接
|
591
|
-
# key: L
|
592
|
-
# url: '/links/'
|
593
|
-
|
594
|
-
|
595
469
|
# -------------------------
|
596
470
|
# 自定义主题
|
597
471
|
|
@@ -617,6 +491,22 @@ theme_color:
|
|
617
491
|
# --------------------------------------
|
618
492
|
display_mode:
|
619
493
|
type: auto # auto: 自动切换 / dark: 暗色模式 / light: 亮色模式 / auto: automatic switching / dark: dark mode / light: light mode
|
494
|
+
universe: true # 开启后暗色模式下会显示星空背景 / After opening, the dark mode will display the starry sky background
|
495
|
+
|
496
|
+
# 文章底部推荐文章
|
497
|
+
# Recommended articles at the bottom of the article
|
498
|
+
related_post:
|
499
|
+
enable: false
|
500
|
+
# 推荐文章数量
|
501
|
+
# Number of recommended articles
|
502
|
+
limit: 2
|
503
|
+
# 根据创建日期(created)或是更新日期(updated)
|
504
|
+
# According to the creation date (created) or the update date (updated)
|
505
|
+
date_type: created
|
506
|
+
|
507
|
+
# -------------------------
|
508
|
+
# 扩展配置
|
509
|
+
# extend settings
|
620
510
|
|
621
511
|
# --------------------------------------
|
622
512
|
# Footer Settings
|
@@ -668,16 +558,142 @@ footer:
|
|
668
558
|
# 隐私助手右侧弹窗,填写路径后开启
|
669
559
|
# Privacy assistant right pop-up window, fill in the path to open
|
670
560
|
privacy: # /privacy/
|
671
|
-
# 订阅链接
|
672
|
-
# Subscription link
|
673
|
-
rss: # /rss/
|
674
561
|
# 版权
|
675
562
|
# Copyright
|
676
563
|
license: # /license/
|
564
|
+
# 页脚右侧链接,例如:ICP备案号、公安备案号等
|
565
|
+
# Footer right link, such as: ICP filing number, public security filing number, etc.
|
566
|
+
links:
|
567
|
+
# 为了主题能够得到更多的支持,建议保留主题链接
|
568
|
+
# In order for the theme to get more support, it is recommended to keep the theme link
|
569
|
+
- name: 主题
|
570
|
+
url: https://github.com/wleelw/hexo-theme-solitude
|
571
|
+
# - name: 订阅
|
572
|
+
# url: /atom.xml
|
677
573
|
|
678
574
|
# -------------------------
|
679
|
-
#
|
680
|
-
#
|
575
|
+
# 扩展页面配置
|
576
|
+
# extra page settings
|
577
|
+
|
578
|
+
# 404 页面
|
579
|
+
# 404 page
|
580
|
+
errorpage:
|
581
|
+
# 图片
|
582
|
+
# image
|
583
|
+
img: https://bu.dusays.com/2023/03/03/6401a7906aa4a.gif
|
584
|
+
# 文字
|
585
|
+
# text
|
586
|
+
text: =awa= 页面走丢了
|
587
|
+
# 推荐文章列表
|
588
|
+
# Recommended article list
|
589
|
+
recommendList: true
|
590
|
+
|
591
|
+
# 即刻说说页
|
592
|
+
# jike says page
|
593
|
+
# 前置要求:需配置即刻说说页面
|
594
|
+
# Pre-requirements: Jike says page needs to be configured
|
595
|
+
# 开启后将显示即刻页面
|
596
|
+
# After opening, the Jike page will be displayed
|
597
|
+
says:
|
598
|
+
enable: false
|
599
|
+
# 主页的即刻轮播条
|
600
|
+
# Jike carousel bar on the homepage
|
601
|
+
home_mini: false
|
602
|
+
# 1:张洪heo样式 / 2:Leonus样式
|
603
|
+
# 1: Zhang Hong heo style / 2: Leonus style
|
604
|
+
style: 1
|
605
|
+
# 即刻短文仅展示前n条
|
606
|
+
# Jike short text only shows the first n
|
607
|
+
strip: 30
|
608
|
+
# 模式选择。local:本地静态 / json:动态json / memos:动态Memos
|
609
|
+
# Mode selection. Local: local static/JSON: dynamic JSON/memory: dynamic Memos
|
610
|
+
mode: local
|
611
|
+
# 动态模式地址。如为json或memos模式,此项为必填。链接获取以及格式可查看主题文档。
|
612
|
+
# Dynamic mode address. If it is in JSON or Memos mode, this field is mandatory. The link acquisition and format can be viewed in the theme document.
|
613
|
+
mode_link: # https://example.com/api/v1/memo?creatorId=1&tag=says
|
614
|
+
|
615
|
+
# -------------------------
|
616
|
+
# meeting-api,用于界面中的音乐胶囊和音乐馆页,可自定义api,不会请勿动。
|
617
|
+
# meeting-api, used for music capsules and music halls in the interface, can customize api, do not move if you don't know.
|
618
|
+
meting_api: "https://meting.qjqq.cn/?server=:server&type=:type&id=:id&auth=:auth&r=:r" #自定义api
|
619
|
+
# 音乐馆页
|
620
|
+
# music hall
|
621
|
+
music:
|
622
|
+
enable: false
|
623
|
+
# 音乐ID:歌单ID / 专辑ID / 歌手ID
|
624
|
+
# Music ID: playlist ID / album ID / singer ID
|
625
|
+
id: 1994908354
|
626
|
+
# 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度
|
627
|
+
# Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
628
|
+
server: netease
|
629
|
+
# 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手
|
630
|
+
# Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
631
|
+
type: playlist
|
632
|
+
# 初始音量。0.8 = 80%,范围 0 到 1
|
633
|
+
# Initial volume. 0.8 = 80%, range 0 to 1
|
634
|
+
volume: 0.8
|
635
|
+
# 是否开启互斥模式,即同时只能有一个播放器播放
|
636
|
+
# Whether to enable mutex mode, that is, only one player can play at the same time
|
637
|
+
mutex: true
|
638
|
+
|
639
|
+
# 音乐胶囊
|
640
|
+
# capsule music
|
641
|
+
capsule:
|
642
|
+
enable: false
|
643
|
+
id: 8407304077 # 歌单id / playlist id
|
644
|
+
server: netease # 播放列表的服务商。netease:网易云 / tencent:腾讯 / kugou:酷狗 / xiami:小米 / baidu:百度 : Music service provider. netease: Netease Cloud / tencent: Tencent / kugou: Kugou / xiaomi: Xiaomi / baidu: Baidu
|
645
|
+
type: playlist # 播放列表的类型。song:单曲 / playlist:歌单 / album:专辑 / artist:歌手 : Type of playlist. song: Single / playlist: Playlist / album: Album / artist: Singer
|
646
|
+
|
647
|
+
# 友链鱼塘
|
648
|
+
# Links fish pond
|
649
|
+
moments:
|
650
|
+
enable: false # 是否开启鱼塘 / Whether to enable fish pond
|
651
|
+
api: # https://blog.wzsco.top/circle/ # api地址 / api address
|
652
|
+
error_img: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg # 加载失败显示图片 / Loading failed display image
|
653
|
+
sort_rule: created # 排序规则:created:按创建时间排序 / updated:按更新时间排序 : Sort rule: created: Sort by creation time / updated: Sort by update time
|
654
|
+
expire_days: 1 # 缓存过期时间(天),默认为1天 / Cache expiration time (days), default is 1 day
|
655
|
+
page_init_number: 10 # 页面初始化加载数量,默认为10条 / Page initialization loading quantity, default is 10
|
656
|
+
page_turning_number: 5 # 页面翻页加载数量,默认为5条 / Page turning loading quantity, default is 5
|
657
|
+
angle: true # 鱼塘随机文章 / Fish pond random article
|
658
|
+
appjs: https://cdn.cbd.int/solitude-source@1.0.3/js/fcircle.min.js # 鱼塘js / Fish pond js
|
659
|
+
bundlejs: https://cdn.cbd.int/solitude-source/js/moment/bundle.min.js # 鱼塘js / Fish pond js
|
660
|
+
randompostjs: https://cdn.cbd.int/solitude-source/js/moment/random_post.min.js # 鱼塘js / Fish pond js
|
661
|
+
|
662
|
+
# 相册
|
663
|
+
# album
|
664
|
+
album:
|
665
|
+
enable: false # 是否开启相册 / Whether to enable album
|
666
|
+
limit: 6 # 单行显示图片数量 / Number of pictures displayed in a single line
|
667
|
+
|
668
|
+
# 快捷菜单你
|
669
|
+
# quick menu
|
670
|
+
keyboard:
|
671
|
+
enable: false # 是否开启键盘控制 / Whether to enable keyboard control
|
672
|
+
# 键盘控制配置
|
673
|
+
# Keyboard control configuration
|
674
|
+
list:
|
675
|
+
# name: 按键名称
|
676
|
+
# name: Key name
|
677
|
+
# key: 按键
|
678
|
+
# key: Key
|
679
|
+
# func: 方法
|
680
|
+
# func: Function
|
681
|
+
# sco: sco内置方法
|
682
|
+
# sco: sco built-in method
|
683
|
+
# url: 跳转链接
|
684
|
+
# url: Jump link
|
685
|
+
# - name: 关闭快捷键功能
|
686
|
+
# key: K
|
687
|
+
# func: keyboard
|
688
|
+
# - name: 打开中控台
|
689
|
+
# key: A
|
690
|
+
# sco: showConsole
|
691
|
+
# - name: 播放/暂停音乐
|
692
|
+
# key: M
|
693
|
+
# sco: musicToggle
|
694
|
+
# - name: 打开友情链接
|
695
|
+
# key: L
|
696
|
+
# url: '/links/'
|
681
697
|
|
682
698
|
# 懒加载
|
683
699
|
# lazyload
|
@@ -724,11 +740,20 @@ lightbox: false
|
|
724
740
|
|
725
741
|
# fancybox
|
726
742
|
# https://fancyapps.com/fancybox/
|
727
|
-
fancybox:
|
743
|
+
fancybox: false
|
728
744
|
|
729
745
|
# mediumZoom
|
730
746
|
mediumZoom: false
|
731
747
|
|
748
|
+
# 简繁转换
|
749
|
+
# Simplified and Traditional Chinese conversion
|
750
|
+
translate:
|
751
|
+
enable: false
|
752
|
+
# the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
|
753
|
+
defaultEncoding: 2
|
754
|
+
# Time delay
|
755
|
+
translateDelay: 0
|
756
|
+
|
732
757
|
# Open Graph
|
733
758
|
# https://ogp.me/
|
734
759
|
# https://developers.facebook.com/docs/sharing/webmasters/
|
@@ -743,17 +768,6 @@ opengraph:
|
|
743
768
|
# fb_admins:
|
744
769
|
# fb_app_id:
|
745
770
|
|
746
|
-
# 文章底部推荐文章
|
747
|
-
# Recommended articles at the bottom of the article
|
748
|
-
related_post:
|
749
|
-
enable: false
|
750
|
-
# 推荐文章数量
|
751
|
-
# Number of recommended articles
|
752
|
-
limit: 2
|
753
|
-
# 根据创建日期(created)或是更新日期(updated)
|
754
|
-
# According to the creation date (created) or the update date (updated)
|
755
|
-
date_type: created
|
756
|
-
|
757
771
|
# 字数统计
|
758
772
|
# word count
|
759
773
|
# warning:开启前需要安装字数统计插件
|
@@ -771,7 +785,7 @@ busuanzi: false
|
|
771
785
|
search:
|
772
786
|
enable: false
|
773
787
|
# algolia, local
|
774
|
-
type:
|
788
|
+
type: local
|
775
789
|
# 推荐标签
|
776
790
|
# Recommended tags
|
777
791
|
tags:
|
@@ -898,7 +912,7 @@ CDN:
|
|
898
912
|
# Dev version can only choose. ( dev版本只能为 local )
|
899
913
|
internal: local
|
900
914
|
# The CDN provider of third party scripts (第三方 js 的 cdn 配置)
|
901
|
-
# option:
|
915
|
+
# option: jsdelivr/unpkg/cdnjs/custom
|
902
916
|
third_party: custom
|
903
917
|
|
904
918
|
# Add version number to url, true or false
|
@@ -911,7 +925,7 @@ CDN:
|
|
911
925
|
option:
|
912
926
|
scoicon_css: https://cdn.cbd.int/solitude-source/icon/scoicon.min.css
|
913
927
|
waterfall: https://cdn.cbd.int/solitude-source/js/waterfall.min.js
|
914
|
-
|
928
|
+
universe_js: https://cdn.cbd.int/solitude-source/js/universe.min.js
|
915
929
|
# algolia_search:
|
916
930
|
# instantsearch:
|
917
931
|
# pjax:
|
package/languages/en-US.yml
CHANGED
@@ -13,6 +13,10 @@ time:
|
|
13
13
|
daybefore: Days ago
|
14
14
|
runtime: days
|
15
15
|
|
16
|
+
chs:
|
17
|
+
chs_tw: Traditional Chinese
|
18
|
+
chs_cn: Simplified Chinese
|
19
|
+
|
16
20
|
page:
|
17
21
|
tag: Tags
|
18
22
|
category: Categories
|
@@ -71,7 +75,7 @@ search:
|
|
71
75
|
|
72
76
|
head:
|
73
77
|
noscript: Please enable JavaScript to view the site
|
74
|
-
console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/
|
78
|
+
console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/wleelw/Hexo-theme-solitude | Version: v1.4.4 😄'
|
75
79
|
|
76
80
|
aside:
|
77
81
|
postcount: 'Posts :'
|
@@ -115,4 +119,29 @@ cookies:
|
|
115
119
|
privacy: How this site protects your privacy
|
116
120
|
|
117
121
|
music:
|
118
|
-
hit: Paused
|
122
|
+
hit: Paused
|
123
|
+
|
124
|
+
rightmenu:
|
125
|
+
copytext: Copy the selected
|
126
|
+
pastetext: Paste the text
|
127
|
+
commenttext: Quote to comment
|
128
|
+
newwindow: A new window opens
|
129
|
+
copylink: Copy the link address
|
130
|
+
copyimg: Copy this image
|
131
|
+
downloadimg: Download this image
|
132
|
+
search: Search on the site
|
133
|
+
music:
|
134
|
+
toggle: Play music
|
135
|
+
back: Switch to the previous track
|
136
|
+
forward: Switch to the next track
|
137
|
+
playlist: See all songs
|
138
|
+
copyMusicName: Reproduction Song Name
|
139
|
+
randomPost: Feel free to wander around
|
140
|
+
categories: Article classification
|
141
|
+
tags: Article tags
|
142
|
+
copyaddress: Copy the address
|
143
|
+
commentBarrage: Turn off trending reviews
|
144
|
+
dark: Dark
|
145
|
+
light: Light
|
146
|
+
chs_to_cht: Traditional
|
147
|
+
cht_to_chs: Simplified
|
package/languages/zh-CN.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# Language: 简体中文
|
1
2
|
theme:
|
2
3
|
dark: 已切换至深色模式
|
3
4
|
light: 已切换至浅色模式
|
@@ -13,6 +14,10 @@ time:
|
|
13
14
|
daybefore: 天前
|
14
15
|
runtime: 天
|
15
16
|
|
17
|
+
chs:
|
18
|
+
chs_tw: 繁體中文
|
19
|
+
chs_cn: 简体中文
|
20
|
+
|
16
21
|
page:
|
17
22
|
tag: 标签
|
18
23
|
category: 分类
|
@@ -70,7 +75,7 @@ search:
|
|
70
75
|
|
71
76
|
head:
|
72
77
|
noscript: 开启JavaScript才能访问本站哦~
|
73
|
-
console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/
|
78
|
+
console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/wleelw/Hexo-theme-solitude | 版本:v1.4.4 😄'
|
74
79
|
|
75
80
|
aside:
|
76
81
|
postcount: '文章总数 :'
|
@@ -114,4 +119,29 @@ cookies:
|
|
114
119
|
privacy: 本站如何保护你的隐私
|
115
120
|
|
116
121
|
music:
|
117
|
-
hit: 音乐已暂停
|
122
|
+
hit: 音乐已暂停
|
123
|
+
|
124
|
+
rightmenu:
|
125
|
+
copytext: 复制选中文本
|
126
|
+
pastetext: 粘贴文本
|
127
|
+
commenttext: 引用到评论
|
128
|
+
newwindow: 新窗口打开
|
129
|
+
copylink: 复制链接地址
|
130
|
+
copyimg: 复制此图片
|
131
|
+
downloadimg: 下载此图片
|
132
|
+
search: 站内搜索
|
133
|
+
music:
|
134
|
+
toggle: 播放音乐
|
135
|
+
back: 切换到上一首
|
136
|
+
forward: 切换到下一首
|
137
|
+
playlist: 查看所有歌曲
|
138
|
+
copyMusicName: 复制歌名
|
139
|
+
randomPost: 随便逛逛
|
140
|
+
categories: 文章分类
|
141
|
+
tags: 文章标签
|
142
|
+
copyaddress: 复制地址
|
143
|
+
commentBarrage: 关闭热评
|
144
|
+
dark: 深色模式
|
145
|
+
light: 浅色模式
|
146
|
+
chs_to_cht: 轉為繁體
|
147
|
+
cht_to_chs: 转为简体
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# Language: 繁體中文 (台灣)
|
2
|
+
theme:
|
3
|
+
dark: 已切換至深色模式
|
4
|
+
light: 已切換至淺色模式
|
5
|
+
|
6
|
+
copy:
|
7
|
+
success: 複製成功
|
8
|
+
error: 複製失敗
|
9
|
+
|
10
|
+
time:
|
11
|
+
recent: 最近
|
12
|
+
yesterday: 昨天
|
13
|
+
berforeyesterday: 前天
|
14
|
+
daybefore: 天前
|
15
|
+
runtime: 天
|
16
|
+
|
17
|
+
chs:
|
18
|
+
chs_tw: 繁體中文
|
19
|
+
chs_cn: 簡體中文
|
20
|
+
|
21
|
+
page:
|
22
|
+
tag: 標籤
|
23
|
+
category: 分類
|
24
|
+
tags: 全部標籤
|
25
|
+
categories: 全部分類
|
26
|
+
archives: 文章
|
27
|
+
404: 頁面沒有找到
|
28
|
+
|
29
|
+
nav:
|
30
|
+
site_name_title: 返回博客主頁
|
31
|
+
backtop: 返回頂部
|
32
|
+
travellings: 開往-友鏈接力
|
33
|
+
search: 搜索
|
34
|
+
randompost: 隨機一篇文章
|
35
|
+
console: 中控台
|
36
|
+
|
37
|
+
home:
|
38
|
+
bannertext: 隨便逛逛
|
39
|
+
categoryBar:
|
40
|
+
home: 首頁
|
41
|
+
more: 更多
|
42
|
+
recent-post:
|
43
|
+
sticky: 置頂
|
44
|
+
new: 最新
|
45
|
+
read: 未讀
|
46
|
+
top-group:
|
47
|
+
recommend: 荐
|
48
|
+
recommendmore: 更多推薦
|
49
|
+
|
50
|
+
post:
|
51
|
+
meta_reprint: 轉載或翻譯
|
52
|
+
meta_original: 原創
|
53
|
+
meta_cc: 該文章為${cc}文章,注意版權協議
|
54
|
+
meta_posted: 發布於
|
55
|
+
meta_updated: 最後更新於
|
56
|
+
meta_wordcount: 文章字數
|
57
|
+
meta_minread: 閱讀耗時
|
58
|
+
meta_ip: 作者IP歸屬地為
|
59
|
+
meta_pv: 文章熱度
|
60
|
+
meta_comment: 評論數
|
61
|
+
|
62
|
+
award:
|
63
|
+
wechat: 微信
|
64
|
+
alipay: 支付寶
|
65
|
+
about:
|
66
|
+
tip: 致謝
|
67
|
+
tip1: 贊助作者
|
68
|
+
tip2: 感謝你賜予我前進的力量
|
69
|
+
title: 贊助作者
|
70
|
+
|
71
|
+
search:
|
72
|
+
empty: 找不到你查詢的內容:${query}
|
73
|
+
hit: 找到 ${hits} 條結果,用時 ${time} 毫秒
|
74
|
+
placeholder: 輸入關鍵詞快速查找
|
75
|
+
|
76
|
+
head:
|
77
|
+
noscript: 開啟JavaScript才能訪問本站哦~
|
78
|
+
console: '程式:Hexo |主題:Hexo-Theme-Solitude |作者:王卓Sco、亦封 |Github位址: https://github.com/wleelw/Hexo-theme-solitude |版本:v1.4.4 😄'
|
79
|
+
|
80
|
+
aside:
|
81
|
+
postcount: '文章數:'
|
82
|
+
pv: '瀏覽量:'
|
83
|
+
uv: '訪客數:'
|
84
|
+
runtime: '運行時間:'
|
85
|
+
updatetime: '最後更新:'
|
86
|
+
wordcount: '字數統計:'
|
87
|
+
toc: 文章目錄
|
88
|
+
tagmore: 查看全部
|
89
|
+
avatar: 头像
|
90
|
+
sticker: 心情贴纸
|
91
|
+
newpost: 最近发布
|
92
|
+
|
93
|
+
console:
|
94
|
+
comment_tip: 互動
|
95
|
+
comment_title: 評論
|
96
|
+
tag_tip: 標籤
|
97
|
+
tag_title: 標籤
|
98
|
+
switch_darkmode: 昼夜切換
|
99
|
+
switch_hideAside: 边栏显示控制
|
100
|
+
switch_keyboard: 鍵盤快捷鍵
|
101
|
+
switch_music: 音樂開關
|
102
|
+
archive_unit: 篇
|
103
|
+
|
104
|
+
sidebar:
|
105
|
+
title1: 功能
|
106
|
+
title2: 標籤
|
107
|
+
darkmode: 顯示模式
|
108
|
+
|
109
|
+
footer:
|
110
|
+
description: 來自${title}的文章
|
111
|
+
learnmore: 了解更多
|
112
|
+
randomlink: 友鏈
|
113
|
+
rss: 訂閱
|
114
|
+
theme: 主題
|
115
|
+
|
116
|
+
cookies:
|
117
|
+
title: 協議提醒助手
|
118
|
+
tip: 查看本站為你的個人隱私做出的努力
|
119
|
+
privacy: 本站如何保護你的隱私
|
120
|
+
|
121
|
+
music:
|
122
|
+
hit: 音樂已暫停
|
123
|
+
|
124
|
+
rightmenu:
|
125
|
+
copytext: 複製選中文本
|
126
|
+
pastetext: 粘貼文本
|
127
|
+
commenttext: 引用到評論
|
128
|
+
newwindow: 新窗口打開
|
129
|
+
copylink: 複製連結位址
|
130
|
+
copyimg: 複製此圖片
|
131
|
+
downloadimg: 下載此圖片
|
132
|
+
search: 站內搜索
|
133
|
+
music:
|
134
|
+
toggle: 播放音樂
|
135
|
+
back: 切換到上一首
|
136
|
+
forward: 切換到下一首
|
137
|
+
playlist: 查看所有歌曲
|
138
|
+
copyMusicName: 複製歌名
|
139
|
+
randomPost: 随便逛逛
|
140
|
+
categories: 文章分類
|
141
|
+
tags: 文章標籤
|
142
|
+
copyaddress: 複製位址
|
143
|
+
commentBarrage: 關閉熱評
|
144
|
+
dark: 深色模式
|
145
|
+
light: 淺色模式
|
146
|
+
chs_to_cht: 轉為繁體
|
147
|
+
cht_to_chs: 转为简体
|