hexo-theme-solitude 1.4.6 → 1.4.7

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.
Files changed (37) hide show
  1. package/_config.yml +211 -215
  2. package/languages/en-US.yml +5 -2
  3. package/languages/zh-CN.yml +5 -2
  4. package/languages/zh-TW.yml +5 -2
  5. package/layout/404.pug +2 -2
  6. package/layout/includes/head/config.pug +7 -7
  7. package/layout/includes/head/opengraph.pug +5 -4
  8. package/layout/includes/head/pwa.pug +2 -3
  9. package/layout/includes/inject/body.pug +17 -17
  10. package/layout/includes/inject/head.pug +3 -2
  11. package/layout/includes/mixins/pagination.pug +1 -1
  12. package/layout/includes/page/says.pug +44 -7
  13. package/layout/includes/widgets/home/bbTimeList.pug +13 -7
  14. package/layout/includes/widgets/page/banner.pug +8 -13
  15. package/layout/page.pug +0 -2
  16. package/package.json +1 -1
  17. package/scripts/event/init.js +18 -17
  18. package/scripts/event/welcome.js +1 -1
  19. package/scripts/generator/gallery.js +29 -27
  20. package/scripts/helper/getArchiveLength.js +5 -9
  21. package/scripts/helper/related_post.js +28 -39
  22. package/scripts/helper/stylus.js +5 -9
  23. package/source/css/_global/animation.styl +307 -0
  24. package/source/css/_page/index.styl +0 -2
  25. package/source/css/index.styl +0 -1
  26. package/source/js/comment/twikoo_commentBarrage.js +76 -75
  27. package/source/js/covercolor/local.js +11 -10
  28. package/source/js/music.js +89 -49
  29. package/layout/includes/page/rss.pug +0 -20
  30. package/layout/includes/widgets/home/bb/json.pug +0 -25
  31. package/layout/includes/widgets/home/bb/local.pug +0 -20
  32. package/layout/includes/widgets/home/bb/memos.pug +0 -28
  33. package/layout/includes/widgets/page/says/json.pug +0 -82
  34. package/layout/includes/widgets/page/says/local.pug +0 -44
  35. package/layout/includes/widgets/page/says/memos.pug +0 -111
  36. package/source/css/_global/animation.css +0 -813
  37. package/source/css/_page/rss.styl +0 -82
package/_config.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  #---------------------------
2
3
  # Hexo Theme Solitude
3
4
  # Author: wleelw(王卓Sco)、yife68(亦封)
@@ -45,91 +46,90 @@ nav:
45
46
  # 导航栏显示的内容
46
47
  # Content displayed in the navigation bar
47
48
  menu:
48
- # # 显示分类名
49
- # # Display category name
50
- # 项目:
51
- # # 显示子类
52
- # # Display subcategories
53
- # Solitude:
54
- # # 显示的图标
55
- # # Displayed icon
56
- # icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
57
- # # 点击的跳转链接
58
- # # Click the jump link
59
- # url: https://github.com/wleelw/Hexo-Theme-solitude
49
+ # 显示分类名
50
+ # Display category name
51
+ 项目:
52
+ # # 显示子类
53
+ # # Display subcategories
54
+ # Solitude:
55
+ # # 显示的图标
56
+ # # Displayed icon
57
+ # icon: https://bu.dusays.com/2023/11/08/654af68b25bb8.jpg
58
+ # # 点击的跳转链接
59
+ # # Click the jump link
60
+ # url: https://github.com/wleelw/Hexo-Theme-solitude
60
61
 
61
62
  # 导航栏内容
62
63
  # Navigation bar content
63
64
  # tip:此部分内容是顶部导航栏中间菜单区域
64
65
  # tip: This part of the content is the menu area in the middle of the top navigation bar
65
66
  menu:
66
- # 显示的大分类名称
67
- # Displayed category name
68
- # 文库:
69
- # # 点击跳转链接
70
- # # Click the jump link
71
- # # tip:如果没有子类就填跳转链接,例如:/archives,否则填false
72
- # # tip: If there is no subcategory, fill in the jump link, for example: /archives, otherwise fill in false
73
- # url: false
74
- # # 子类数组
75
- # # Subcategory array
76
- # child:
77
- # # 子类名称
78
- # # Subcategory name
79
- # 文章列表:
80
- # # 点击跳转链接
81
- # # Click the jump link
82
- # url: /archives/
83
- # # 子类名称左侧图标
84
- # # Subcategory name left icon
85
- # icon: sco-folder-fill
86
- # 全部分类:
87
- # url: /categories/
88
- # icon: sco-checkbox-multiple-blank-fill
89
- # 全部标签:
90
- # url: /tags/
91
- # icon: sco-price-tag-fill
92
- # 友链:
93
- # url: false
94
- # child:
95
- # 友情链接:
96
- # url: /links/
97
- # icon: sco-group-fill
98
- # 宝藏博主:
99
- # url: javascript:travelling()
100
- # icon: sco-gift-fill
101
- # 我的:
102
- # url: false
103
- # child:
104
- # 装备:
105
- # url: /equipment/
106
- # icon: sco-laptop-line
107
- # 工具箱:
108
- # url: /tlink/
109
- # icon: sco-tools-fill
110
- # 关于:
111
- # url: false
112
- # child:
113
- # 关于本站:
114
- # url: /about/
115
- # icon: sco-contacts-fill
116
-
67
+ # 显示的大分类名称
68
+ # Displayed category name
69
+ # 文库:
70
+ # # 点击跳转链接
71
+ # # Click the jump link
72
+ # # tip:如果没有子类就填跳转链接,例如:/archives,否则填false
73
+ # # tip: If there is no subcategory, fill in the jump link, for example: /archives, otherwise fill in false
74
+ # url: false
75
+ # # 子类数组
76
+ # # Subcategory array
77
+ # child:
78
+ # # 子类名称
79
+ # # Subcategory name
80
+ # 文章列表:
81
+ # # 点击跳转链接
82
+ # # Click the jump link
83
+ # url: /archives/
84
+ # # 子类名称左侧图标
85
+ # # Subcategory name left icon
86
+ # icon: sco-folder-fill
87
+ # 全部分类:
88
+ # url: /categories/
89
+ # icon: sco-checkbox-multiple-blank-fill
90
+ # 全部标签:
91
+ # url: /tags/
92
+ # icon: sco-price-tag-fill
93
+ # 友链:
94
+ # url: false
95
+ # child:
96
+ # 友情链接:
97
+ # url: /links/
98
+ # icon: sco-group-fill
99
+ # 宝藏博主:
100
+ # url: javascript:travelling()
101
+ # icon: sco-gift-fill
102
+ # 我的:
103
+ # url: false
104
+ # child:
105
+ # 装备:
106
+ # url: /equipment/
107
+ # icon: sco-laptop-line
108
+ # 工具箱:
109
+ # url: /tlink/
110
+ # icon: sco-tools-fill
111
+ # 关于:
112
+ # url: false
113
+ # child:
114
+ # 关于本站:
115
+ # url: /about/
116
+ # icon: sco-contacts-fill
117
117
 
118
118
  # 导航栏右侧按钮
119
119
  # Button on the right side of the navigation bar
120
120
  # tip:只需填写true和false即可
121
121
  # tip: Just fill in true and false
122
122
  right:
123
- random: false # 随机文章跳转 true:开启 / false:关闭 : random post jump true: on / false: off
124
- console: false #控制台 true:开启 / false:关闭 : console true: on / false: off
123
+ random: false # 随机文章跳转 true:开启 / false:关闭 : random post jump true: on / false: off
124
+ console: false #控制台 true:开启 / false:关闭 : console true: on / false: off
125
125
  # 从左至右
126
126
  # From left to right
127
127
  custom:
128
- # - name: 开往 - 友链接力 # 显示文字 / Displayed text
129
- # url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
130
- # icon: sco-train-line # 图标 / Icon
131
- # onclick: # 点击事件 / Click event
132
- # id: travellings_button # id
128
+ # - name: 开往 - 友链接力 # 显示文字 / Displayed text
129
+ # url: https://www.travellings.cn/go.html # 跳转链接 / Jump link
130
+ # icon: sco-train-line # 图标 / Icon
131
+ # onclick: # 点击事件 / Click event
132
+ # id: travellings_button # id
133
133
 
134
134
  # 首页顶部样式
135
135
  # Home top style
@@ -151,33 +151,33 @@ hometop:
151
151
  # 轮播icon
152
152
  # Carousel icon
153
153
  icon:
154
- # 名字 / Name
155
- # HTML:
156
- # # 图片 / Image
157
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/HTML.png
158
- # # 背景色 / Background color
159
- # color: '#e9572b'
160
- # JS:
161
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/JS.png
162
- # color: '#f7cb4f'
163
- # Kotlin:
164
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/kotlin-logo.svg
165
- # color: '#ffffff'
166
- # Docker:
167
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/docker.png
168
- # color: '#57b6e6'
169
- # Flutter:
170
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/flutter.png
171
- # color: '#ffffff'
172
- # WebPack:
173
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/webpack.png
174
- # color: '#2e3a41'
175
- # Git:
176
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/git.png
177
- # color: '#df5b40'
178
- # VS:
179
- # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/vs-logo.svg
180
- # color: '#ffffff'
154
+ # # 名字 / Name
155
+ # HTML:
156
+ # # 图片 / Image
157
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/HTML.png
158
+ # # 背景色 / Background color
159
+ # color: "#e9572b"
160
+ # JS:
161
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/JS.png
162
+ # color: "#f7cb4f"
163
+ # Kotlin:
164
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/kotlin-logo.svg
165
+ # color: "#ffffff"
166
+ # Docker:
167
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/docker.png
168
+ # color: "#57b6e6"
169
+ # Flutter:
170
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/flutter.png
171
+ # color: "#ffffff"
172
+ # WebPack:
173
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/webpack.png
174
+ # color: "#2e3a41"
175
+ # Git:
176
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/git.png
177
+ # color: "#df5b40"
178
+ # VS:
179
+ # img: https://npm.elemecdn.com/wleelw-blog-abs@1.0.0/img/icon/vs-logo.svg
180
+ # color: "#ffffff"
181
181
 
182
182
  # 顶部三大分类
183
183
  # Top three categories
@@ -224,7 +224,7 @@ hometop:
224
224
  img: /img/default.png
225
225
  # 阴影颜色
226
226
  # Shadow color
227
- color: '#ff0000'
227
+ color: "#ff0000"
228
228
 
229
229
  # --------------------------------------
230
230
  # Aside Settings
@@ -304,15 +304,15 @@ aside:
304
304
  - 💢 壮汉人狠话不多
305
305
  - 🎮 电竞游戏爱好者
306
306
  information:
307
- # # 悬停显示文字
308
- # Github:
309
- # # 图标
310
- # icon: scoicon sco-github-line
311
- # # 跳转链接
312
- # url: https://github.com/wleelw/Hexo-Theme-slitude
313
- # Bilibili:
314
- # icon: scoicon sco-bilibili-line
315
- # url: https://space.bilibili.com/1329819902
307
+ # # 悬停显示文字
308
+ # Github:
309
+ # # 图标
310
+ # icon: scoicon sco-github-line
311
+ # # 跳转链接
312
+ # url: https://github.com/wleelw/Hexo-Theme-slitude
313
+ # Bilibili:
314
+ # icon: scoicon sco-bilibili-line
315
+ # url: https://space.bilibili.com/1329819902
316
316
 
317
317
  # 二维码
318
318
  # Official account QR code
@@ -358,14 +358,14 @@ aside:
358
358
  # 高亮显示标签列表
359
359
  # Highlighted tag list
360
360
  list:
361
- - 'Solitude-使用'
361
+ - "Solitude-使用"
362
362
 
363
363
  # 侧边栏归档
364
364
  # aside archive
365
365
  archive:
366
366
  enable: false
367
367
  # 显示类型
368
- type: 'month' # monthly: 按月 / yearly: 按年 : monthly: by month / yearly: by year
368
+ type: "month" # monthly: 按月 / yearly: 按年 : monthly: by month / yearly: by year
369
369
 
370
370
  # 建站信息
371
371
  # Website information
@@ -390,7 +390,7 @@ aside:
390
390
  runtimeenable: true
391
391
  # 格式:yyyy-MM-dd hh-mm-ss
392
392
  # Format: yyyy-MM-dd hh-mm-ss
393
- runtime: '2023-04-20 00:00:00'
393
+ runtime: "2023-04-20 00:00:00"
394
394
 
395
395
  # -------------------------
396
396
  # 文章页、页面配置
@@ -399,7 +399,7 @@ aside:
399
399
  # 页面默认设置
400
400
  # page default settings
401
401
  page:
402
- error: true # 404页面 / 404 page
402
+ error: true # 404页面 / 404 page
403
403
  tags: true # 标签页 / Tags page
404
404
  categories: true # 分类页 / Categories page
405
405
  default: # 默认值 / Default value
@@ -476,13 +476,13 @@ post:
476
476
  # --------------------------------------
477
477
  theme_color:
478
478
  dark: "#ffc848" # 暗色模式 / Dark mode
479
- dark_op: '#f2b94b23' # 暗色模式透明 / Dark mode transparent
480
- dark_op_deep: '#f2b94bdd' # 暗色模式透明深色 / Dark mode transparent dark
481
- dark_none: '#f2b94b00' # 暗色模式透明无色 / Dark mode transparent colorless
479
+ dark_op: "#f2b94b23" # 暗色模式透明 / Dark mode transparent
480
+ dark_op_deep: "#f2b94bdd" # 暗色模式透明深色 / Dark mode transparent dark
481
+ dark_none: "#f2b94b00" # 暗色模式透明无色 / Dark mode transparent colorless
482
482
  light: "#425AEF" # 亮色模式 / Light mode
483
- light_op: '#4259ef23' # 亮色模式透明 / Light mode transparent
484
- light_op_deep: '#4259efdd' # 亮色模式透明深色 / Light mode transparent dark
485
- light_none: '#4259ef01' # 亮色模式透明无色 / Light mode transparent colorless
483
+ light_op: "#4259ef23" # 亮色模式透明 / Light mode transparent
484
+ light_op_deep: "#4259efdd" # 亮色模式透明深色 / Light mode transparent dark
485
+ light_none: "#4259ef01" # 亮色模式透明无色 / Light mode transparent colorless
486
486
 
487
487
  # 主题显示模式调整
488
488
  # theme display mode adjustment
@@ -515,38 +515,40 @@ footer:
515
515
  # 底部上方一排图标
516
516
  # Bottom row of icons
517
517
  information:
518
- left: # 左侧显示图标 / Left display icon
519
- # Github:
520
- # icon: scoicon sco-bilibili-line
521
- # url: https://github.com/wleelw
522
- # Mail:
523
- # icon: scoicon sco-mail-line
524
- # url: mailto:wleelw@wzsco.top
525
- right: # 右侧显示图标 / Right display icon
526
- # Bilibili:
527
- # icon: scoicon sco-bilibili-line
528
- # url: https://space.bilibili.com/1329819902
529
- # 抖音:
530
- # icon: scoicon sco-douyin-fill
531
- # url: https://v.douyin.com/iJsLc8jt/
518
+ # 左侧显示图标 / Left display icon
519
+ left:
520
+ # Github:
521
+ # icon: scoicon sco-bilibili-line
522
+ # url: https://github.com/wleelw
523
+ # Mail:
524
+ # icon: scoicon sco-mail-line
525
+ # url: mailto:wleelw@wzsco.top
526
+ # 右侧显示图标 / Right display icon
527
+ right:
528
+ # Bilibili:
529
+ # icon: scoicon sco-bilibili-line
530
+ # url: https://space.bilibili.com/1329819902
531
+ # 抖音:
532
+ # icon: scoicon sco-douyin-fill
533
+ # url: https://v.douyin.com/iJsLc8jt/
532
534
 
533
535
  # 底部导航栏
534
536
  # Bottom navigation bar
535
- group: # 从左至右 / From left to right
536
- # 导航:
537
- # 归档: /archives/
538
- # 分类: /categories/
539
- # 标签: /tags/
540
- # 服务:
541
- # 阿里云: https://aliyun.com/
542
- # 51la统计: https://v6.51.la/
543
- # 百度统计: https://tongji.baidu.com/
544
- # 支持:
545
- # 打赏记录: /about/
546
- # 协议:
547
- # Cookies: /cookies/
548
- # 用户协议: /privacy/
549
- # 版权协议: /copyright/
537
+ group:
538
+ # 导航:
539
+ # 归档: /archives/
540
+ # 分类: /categories/
541
+ # 标签: /tags/
542
+ # 服务:
543
+ # 阿里云: https://aliyun.com/
544
+ # 51la统计: https://v6.51.la/
545
+ # 百度统计: https://tongji.baidu.com/
546
+ # 支持:
547
+ # 打赏记录: /about/
548
+ # 协议:
549
+ # Cookies: /cookies/
550
+ # 用户协议: /privacy/
551
+ # 版权协议: /copyright/
550
552
 
551
553
  # 底部随机友链
552
554
  # Random links at the bottom
@@ -605,12 +607,6 @@ says:
605
607
  # 即刻短文仅展示前n条
606
608
  # Jike short text only shows the first n
607
609
  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
610
 
615
611
  # -------------------------
616
612
  # meeting-api,用于界面中的音乐胶囊和音乐馆页,可自定义api,不会请勿动。
@@ -672,28 +668,28 @@ keyboard:
672
668
  # 键盘控制配置
673
669
  # Keyboard control configuration
674
670
  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/'
671
+ # name: 按键名称
672
+ # name: Key name
673
+ # key: 按键
674
+ # key: Key
675
+ # func: 方法
676
+ # func: Function
677
+ # sco: sco内置方法
678
+ # sco: sco built-in method
679
+ # url: 跳转链接
680
+ # url: Jump link
681
+ # - name: 关闭快捷键功能
682
+ # key: K
683
+ # func: keyboard
684
+ # - name: 打开中控台
685
+ # key: A
686
+ # sco: showConsole
687
+ # - name: 播放/暂停音乐
688
+ # key: M
689
+ # sco: musicToggle
690
+ # - name: 打开友情链接
691
+ # key: L
692
+ # url: "/links/"
697
693
 
698
694
  # 懒加载
699
695
  # lazyload
@@ -760,13 +756,13 @@ translate:
760
756
  opengraph:
761
757
  enable: false
762
758
  options:
763
- # twitter_card:
764
- # twitter_image:
765
- # twitter_id:
766
- # twitter_site:
767
- # google_plus:
768
- # fb_admins:
769
- # fb_app_id:
759
+ # twitter_card:
760
+ # twitter_image:
761
+ # twitter_id:
762
+ # twitter_site:
763
+ # google_plus:
764
+ # fb_admins:
765
+ # fb_app_id:
770
766
 
771
767
  # 字数统计
772
768
  # word count
@@ -843,24 +839,24 @@ comment:
843
839
  newComment: false # 最新评论开关 / Latest comment switch
844
840
  # 匿名评论前部分随机信息 / Anonymous comment front random information
845
841
  randomInfoStart:
846
- - '聪敏的'
847
- - '可爱的'
848
- - '美丽的'
842
+ - "聪敏的"
843
+ - "可爱的"
844
+ - "美丽的"
849
845
  # 匿名评论后部分随机信息 / Anonymous comment after random information
850
846
  randomInfoEnd:
851
- - '白菜'
852
- - '小可爱'
853
- - '小仙女'
847
+ - "白菜"
848
+ - "小可爱"
849
+ - "小仙女"
854
850
  # twikoo 配置信息
855
851
  # twikoo settings
856
852
  twikoo: # https://twikoo.js.org/
857
853
  envId: # url: https://twikoo.sondy.top/
858
- lang: 'zh-CN' # 语言
859
- accessToken: # accessToken
854
+ lang: "zh-CN" # 语言
855
+ accessToken: # accessToken
860
856
  # waline 配置信息
861
857
  # waline settings
862
858
  waline: # https://waline.js.org/
863
- envId: # url: https://waline.wzsco.top
859
+ envId: # url: https://waline.wzsco.top
864
860
  pageview: true # 是否开启页面访问量统计 / Whether to enable page access statistics
865
861
  option: # waline配置项 / waline configuration item
866
862
 
@@ -896,7 +892,7 @@ extends:
896
892
  pwa:
897
893
  enable: false
898
894
  manifest: /manifest.json # manifest.json 文件路径
899
- theme_color: '#ffffff' # 主题颜色
895
+ theme_color: "#ffffff" # 主题颜色
900
896
  mask_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 遮罩图标
901
897
  apple_touch_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 苹果触摸图标
902
898
  bookmark_icon: https://cdn.cbd.int/solitude-source/img/pwa/180.png # 书签图标
@@ -923,27 +919,27 @@ CDN:
923
919
  custom_format: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
924
920
 
925
921
  option:
926
- scoicon_css: https://cdn.cbd.int/solitude-source/icon/scoicon.min.css
927
- waterfall: https://cdn.cbd.int/solitude-source/js/waterfall.min.js
928
- universe_js: https://cdn.cbd.int/solitude-source/js/universe.min.js
929
- # algolia_search:
930
- # instantsearch:
931
- # pjax:
932
- # twikoo:
933
- # waline_js:
934
- # waline_css:
935
- # sharejs:
936
- # sharejs_css:
937
- # katex:
938
- # katex_copytex:
939
- # lazyload:
940
- # aplayer_css:
941
- # aplayer_js:
942
- # meting_js:
943
- # pace_js:
944
- # lunr_js:
945
- # swiper_css:
946
- # swiper_js:
947
- # busuanzi_js:
948
- # snackbar_css:
949
- # snackbar_js:
922
+ scoicon_css: https://cdn.cbd.int/solitude-source/icon/scoicon.min.css
923
+ waterfall: https://cdn.cbd.int/solitude-source/js/waterfall.min.js
924
+ universe_js: https://cdn.cbd.int/solitude-source/js/universe.min.js
925
+ # algolia_search:
926
+ # instantsearch:
927
+ # pjax:
928
+ # twikoo:
929
+ # waline_js:
930
+ # waline_css:
931
+ # sharejs:
932
+ # sharejs_css:
933
+ # katex:
934
+ # katex_copytex:
935
+ # lazyload:
936
+ # aplayer_css:
937
+ # aplayer_js:
938
+ # meting_js:
939
+ # pace_js:
940
+ # lunr_js:
941
+ # swiper_css:
942
+ # swiper_js:
943
+ # busuanzi_js:
944
+ # snackbar_css:
945
+ # snackbar_js:
@@ -75,7 +75,7 @@ search:
75
75
 
76
76
  head:
77
77
  noscript: Please enable JavaScript to view the site
78
- console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/wleelw/Hexo-theme-solitude | Version: v1.4.6 😄'
78
+ console: 'Program: Hexo | Theme: Hexo-Theme-Solitude | Author: WangZhuoSco、YiFeng | Github: https://github.com/wleelw/Hexo-theme-solitude | Version: v1.4.7 😄'
79
79
 
80
80
  aside:
81
81
  postcount: 'Posts :'
@@ -144,4 +144,7 @@ rightmenu:
144
144
  dark: Dark
145
145
  light: Light
146
146
  chs_to_cht: Traditional
147
- cht_to_chs: Simplified
147
+ cht_to_chs: Simplified
148
+
149
+ 404:
150
+ button: Back to home
@@ -75,7 +75,7 @@ search:
75
75
 
76
76
  head:
77
77
  noscript: 开启JavaScript才能访问本站哦~
78
- console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/wleelw/Hexo-theme-solitude | 版本:v1.4.6 😄'
78
+ console: '程序:Hexo | 主题:Hexo-Theme-Solitude | 作者:王卓Sco、亦封 | Github: https://github.com/wleelw/Hexo-theme-solitude | 版本:v1.4.7 😄'
79
79
 
80
80
  aside:
81
81
  postcount: '文章总数 :'
@@ -144,4 +144,7 @@ rightmenu:
144
144
  dark: 深色模式
145
145
  light: 浅色模式
146
146
  chs_to_cht: 轉為繁體
147
- cht_to_chs: 转为简体
147
+ cht_to_chs: 转为简体
148
+
149
+ 404:
150
+ button: 返回首页
@@ -75,7 +75,7 @@ search:
75
75
 
76
76
  head:
77
77
  noscript: 開啟JavaScript才能訪問本站哦~
78
- console: '程式:Hexo |主題:Hexo-Theme-Solitude |作者:王卓Sco、亦封 |Github位址: https://github.com/wleelw/Hexo-theme-solitude |版本:v1.4.6 😄'
78
+ console: '程式:Hexo |主題:Hexo-Theme-Solitude |作者:王卓Sco、亦封 |Github位址: https://github.com/wleelw/Hexo-theme-solitude |版本:v1.4.7 😄'
79
79
 
80
80
  aside:
81
81
  postcount: '文章數:'
@@ -144,4 +144,7 @@ rightmenu:
144
144
  dark: 深色模式
145
145
  light: 淺色模式
146
146
  chs_to_cht: 轉為繁體
147
- cht_to_chs: 转为简体
147
+ cht_to_chs: 转为简体
148
+
149
+ 404:
150
+ button: 返回首頁
package/layout/404.pug CHANGED
@@ -3,13 +3,13 @@ extends includes/layout.pug
3
3
  block content
4
4
  #error-wrap
5
5
  .error-content
6
- .error-img(style='background-image: url(' + url_for(theme.errorpage.img) + ')')
6
+ .error-img(style=`background-image: url(${url_for(theme.errorpage.img)})`)
7
7
  .error-info
8
8
  h1.error_title 404
9
9
  .error_subtitle= theme.errorpage.text
10
10
  a.button--animated(href="/")
11
11
  i.scoicon.sco-external-link
12
- | 回到主页
12
+ =_p('404.button')
13
13
 
14
14
  if theme.errorpage.recommendList
15
15
  .aside-list