hexo-theme-solitude 1.6.0 → 1.7.0
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/README.md +1 -1
- package/README_zh-cn.md +1 -1
- package/README_zh-tw.md +1 -1
- package/SECURITY.md +5 -5
- package/_config.yml +50 -51
- package/languages/en.yml +59 -63
- package/languages/zh-CN.yml +52 -55
- package/languages/zh-TW.yml +52 -55
- package/layout/404.pug +1 -1
- package/layout/category.pug +1 -1
- package/layout/includes/console.pug +13 -12
- package/layout/includes/footer.pug +6 -6
- package/layout/includes/head/config.pug +70 -38
- package/layout/includes/head/opengraph.pug +2 -2
- package/layout/includes/head/pwa.pug +6 -6
- package/layout/includes/head.pug +1 -1
- package/layout/includes/inject/body.pug +7 -7
- package/layout/includes/inject/head.pug +35 -1
- package/layout/includes/keyboard.pug +1 -1
- package/layout/includes/nav.pug +1 -1
- package/layout/includes/sidebar.pug +19 -3
- package/layout/includes/widgets/home/categoryBar.pug +2 -2
- package/layout/includes/widgets/home/postList.pug +4 -4
- package/layout/includes/widgets/home/topGroup.pug +2 -2
- package/layout/includes/widgets/nav/group.pug +2 -2
- package/layout/includes/widgets/nav/right.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +8 -9
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/other.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +5 -4
- package/layout/includes/widgets/page/moments/angle.pug +1 -1
- package/layout/includes/widgets/post/award.pug +10 -15
- package/layout/includes/widgets/post/copyright.pug +2 -2
- package/layout/includes/widgets/post/postMeta.pug +17 -10
- package/layout/includes/widgets/randomlink.pug +3 -2
- package/layout/includes/widgets/third-party/comments/comment.pug +5 -7
- package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -0
- package/layout/includes/widgets/third-party/comments/valine.pug +44 -0
- package/layout/includes/widgets/third-party/comments/waline.pug +40 -11
- package/layout/includes/widgets/third-party/news-comment/newest-comment.pug +5 -3
- package/layout/includes/widgets/third-party/news-comment/twikoo.pug +12 -10
- package/layout/includes/widgets/third-party/news-comment/valine.pug +79 -0
- package/layout/includes/widgets/third-party/news-comment/waline.pug +25 -20
- package/layout/page.pug +3 -0
- package/layout/tag.pug +1 -1
- package/package.json +1 -1
- package/plugins.yml +15 -3
- package/scripts/event/cdn.js +9 -9
- package/scripts/event/init.js +4 -2
- package/scripts/event/merge_config.js +15 -6
- package/scripts/helper/related_post.js +2 -2
- package/scripts/tags/tabs.js +1 -1
- package/source/css/_comments/{index.styl → comment.styl} +15 -22
- package/source/css/_comments/twikoo.styl +3 -0
- package/source/css/_comments/valine.styl +245 -0
- package/source/css/_global/index.styl +3 -0
- package/source/css/_highlight/highlight/index.styl +1 -1
- package/source/css/_highlight/prismjs/line-number.styl +1 -1
- package/source/css/_layout/article-sort.styl +1 -1
- package/source/css/_layout/aside.styl +3 -3
- package/source/css/_layout/console.styl +7 -6
- package/source/css/_layout/footer.styl +1 -0
- package/source/css/_layout/header.styl +2 -0
- package/source/css/_layout/sidebar.styl +30 -20
- package/source/css/_page/_home/home-top.styl +1 -1
- package/source/css/_page/_home/recent-post.styl +2 -2
- package/source/css/_page/index.styl +1 -4
- package/source/css/_page/links.styl +5 -5
- package/source/css/_post/content.styl +26 -7
- package/source/css/_post/tools.styl +3 -9
- package/source/css/index.styl +1 -3
- package/source/img/flower.gif +0 -0
- package/source/js/{comment/twikoo_commentBarrage.js → commentBarrage/twikoo.js} +4 -10
- package/source/js/commentBarrage/valine.js +156 -0
- package/source/js/{comment/waline_commentBarrage.js → commentBarrage/waline.js} +3 -5
- package/source/js/main.js +92 -96
- package/source/js/third_party/efu_ai.min.js +6 -0
- package/source/js/utils.js +15 -2
- package/layout/includes/widgets/rightside/index.pug +0 -87
- package/source/css/_comments/waline.styl +0 -455
- package/source/js/rightside.js +0 -221
- package/source/js/third_party/sco-ai.min.js +0 -8
package/README.md
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
36
|
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
37
|
|
38
|
-
[Preview](https://
|
38
|
+
[Preview](https://efu.me/) 丨 [Documentation](https://solitude-docs.efu.me/)
|
39
39
|
|
40
40
|
</div>
|
41
41
|
|
package/README_zh-cn.md
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
36
|
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
37
|
|
38
|
-
[预览](https://
|
38
|
+
[预览](https://efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
|
39
39
|
|
40
40
|
</div>
|
41
41
|
|
package/README_zh-tw.md
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
36
36
|
[](https://gitlab.com/efu/hexo-theme-solitude)
|
37
37
|
|
38
|
-
[預覽](https://
|
38
|
+
[預覽](https://efu.me/) 丨 [文档](https://solitude-docs.efu.me/)
|
39
39
|
|
40
40
|
</div>
|
41
41
|
|
package/SECURITY.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# Security Policy
|
2
2
|
|
3
|
-
##
|
3
|
+
## Report a vulnerability
|
4
4
|
|
5
|
-
|
5
|
+
To report a vulnerability, please [report privately via security tab](https://github.com/valor-x/hexo-theme-solitude/security/advisories/new) on the correct GitHub repository (see [Document](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability)). If you are unable to report, please feel free to email us at o@efu.me.
|
6
6
|
|
7
|
-
|
7
|
+
All security vulnerabilities will be verified and resolved in a timely manner.
|
8
8
|
|
9
|
-
|
9
|
+
While it is rare for new vulnerabilities to be discovered, it is recommended to always use the latest version of the theme and other dependencies by maintaining locked files (`yarn.lock`, `package-lock.json`) to ensure that they are as secure as possible.
|
package/_config.yml
CHANGED
@@ -199,15 +199,15 @@ aside:
|
|
199
199
|
# 个人信息卡片顶部按钮的切换文字
|
200
200
|
# Switching text of the button at the top of the personal information card
|
201
201
|
sayhello2:
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
202
|
+
# - 🤖️ 数码科技爱好者
|
203
|
+
# - 🔍 分享与热心帮助
|
204
|
+
# - 🏠 智能家居小能手
|
205
|
+
# - 🔨 设计开发一条龙
|
206
|
+
# - 🤝 专修交互与设计
|
207
|
+
# - 🏃 脚踏实地行动派
|
208
|
+
# - 🧱 团队小组发动机
|
209
|
+
# - 💢 壮汉人狠话不多
|
210
|
+
# - 🎮 电竞游戏爱好者
|
211
211
|
# 个人信息卡片底部的小图标,按照例子填写
|
212
212
|
information:
|
213
213
|
# Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
|
@@ -295,7 +295,7 @@ aside:
|
|
295
295
|
# Configure information on the home page
|
296
296
|
index_post_list:
|
297
297
|
direction: column # row / column
|
298
|
-
content:
|
298
|
+
content: false # 1: post.description / 2: 自动获取description或截取内容(Automatically get descriptions or screenshots) / 3: 只使用截取内容(Use only screenshots) / false: 不显示内容(No content is displayed)
|
299
299
|
length: 500 # 截取内容的长度 : The length of the screenshot content
|
300
300
|
cover: both # left: 在左侧 : left / right: 在右侧 : right / both: 两侧 : both
|
301
301
|
|
@@ -342,15 +342,13 @@ post:
|
|
342
342
|
# reward
|
343
343
|
award:
|
344
344
|
enable: false
|
345
|
-
#
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
#
|
350
|
-
|
351
|
-
#
|
352
|
-
# Reward statistics page link
|
353
|
-
url: /about
|
345
|
+
appreciators: /about # 赞赏记录 / Appreciative records
|
346
|
+
title: 感谢您的赞赏。
|
347
|
+
desc: 因为有你们的支持,我才体会到写文章的价值。
|
348
|
+
list:
|
349
|
+
# - name: 支付宝
|
350
|
+
# qcode: https://7.isyangs.cn/34/65f2e5a6d2ef5-34.png
|
351
|
+
# color: var(--efu-blue)
|
354
352
|
# 版权中订阅按钮跳转链接,填写地址后开启
|
355
353
|
# Subscription button jump link in copyright
|
356
354
|
rss: # /atom.xml
|
@@ -570,6 +568,14 @@ keyboard:
|
|
570
568
|
# key: L
|
571
569
|
# url: "/links/"
|
572
570
|
|
571
|
+
# 复制
|
572
|
+
# Copy
|
573
|
+
copy:
|
574
|
+
enable: true
|
575
|
+
copyright: # Turn on Link copyright information after copying.(开启后将在默认增加版权信息)
|
576
|
+
enable: false
|
577
|
+
limit: 50 # word count. (字数)
|
578
|
+
|
573
579
|
# 懒加载
|
574
580
|
# lazyload
|
575
581
|
lazyload:
|
@@ -621,19 +627,10 @@ mediumZoom: false
|
|
621
627
|
# https://mermaid.js.org/
|
622
628
|
mermaid: false
|
623
629
|
|
624
|
-
# 简繁转换
|
625
|
-
# Simplified and Traditional Chinese conversion
|
626
|
-
translate:
|
627
|
-
enable: false
|
628
|
-
# the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
|
629
|
-
defaultEncoding: 2
|
630
|
-
# Time delay
|
631
|
-
translateDelay: 0
|
632
|
-
|
633
630
|
# Open Graph
|
634
631
|
# https://ogp.me/
|
635
632
|
# https://developers.facebook.com/docs/sharing/webmasters/
|
636
|
-
|
633
|
+
OpenGraph:
|
637
634
|
enable: false
|
638
635
|
options:
|
639
636
|
# twitter_card:
|
@@ -674,11 +671,6 @@ search:
|
|
674
671
|
preload: false
|
675
672
|
CDN:
|
676
673
|
|
677
|
-
# rightside(右键菜单)
|
678
|
-
# right menu
|
679
|
-
rightside:
|
680
|
-
enable: false
|
681
|
-
|
682
674
|
# 文章摘要AI
|
683
675
|
# post abstract AI
|
684
676
|
post_ai:
|
@@ -692,7 +684,7 @@ post_ai:
|
|
692
684
|
key:
|
693
685
|
# 自介
|
694
686
|
# talk
|
695
|
-
talk: 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
687
|
+
talk: # 我是 Efu 开发的摘要生成助理EfuGPT,EfuGPT在静态部署时进行摘要的撰写,并且在访客访问时通过EfuCorrection转译后的文本摘要实现工具。我在这里只负责已经生成的摘要显示,你无法与我直接沟通,但我可以回答一些预设的问题。
|
696
688
|
# 随机文章按钮
|
697
689
|
# Random post button
|
698
690
|
randomPost: false
|
@@ -701,7 +693,7 @@ post_ai:
|
|
701
693
|
report: https://efu.me/
|
702
694
|
# 底部提示
|
703
695
|
# Bottom tip
|
704
|
-
tips: 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
696
|
+
tips: # 此内容根据文章生成,并经过人工审核,仅用于文章内容的解释与总结
|
705
697
|
|
706
698
|
# latex 公式支持
|
707
699
|
# latex formula support
|
@@ -717,17 +709,11 @@ comment:
|
|
717
709
|
enable: false
|
718
710
|
type: # waline, twikoo
|
719
711
|
commentBarrage: false # 热评开关 / Hot comment switch
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
- "美丽的"
|
726
|
-
# 匿名评论后部分随机信息 / Anonymous comment after random information
|
727
|
-
randomInfoEnd:
|
728
|
-
- "白菜"
|
729
|
-
- "小可爱"
|
730
|
-
- "小仙女"
|
712
|
+
lazyload: true # 懒加载
|
713
|
+
count: true # 评论数展示
|
714
|
+
newest_comment:
|
715
|
+
enable: false
|
716
|
+
storage: 421000 # 缓存时间
|
731
717
|
# twikoo 配置信息
|
732
718
|
# twikoo settings
|
733
719
|
twikoo: # https://twikoo.js.org/
|
@@ -737,9 +723,22 @@ comment:
|
|
737
723
|
# waline 配置信息
|
738
724
|
# waline settings
|
739
725
|
waline: # https://waline.js.org/
|
740
|
-
envId:
|
741
|
-
pageview:
|
726
|
+
envId: # url: https://waline.wzsco.top
|
727
|
+
pageview: false # 是否开启页面访问量统计 / Whether to enable page access statistics
|
742
728
|
option: # waline配置项 / waline configuration item
|
729
|
+
# valine 配置信息
|
730
|
+
# valine settings
|
731
|
+
valine:
|
732
|
+
appId: # leancloud application app id
|
733
|
+
appKey: # leancloud application app key
|
734
|
+
serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
|
735
|
+
avatar:
|
736
|
+
visitor: false
|
737
|
+
option: # options list
|
738
|
+
|
739
|
+
|
740
|
+
# 中控台扩展 : 最新评论 + 标签 + 文章
|
741
|
+
console_plus: false
|
743
742
|
|
744
743
|
# 站点验证
|
745
744
|
# Site verification
|
@@ -764,8 +763,8 @@ css_prefix: false
|
|
764
763
|
font:
|
765
764
|
font-size: 16px
|
766
765
|
code-font-size: 16px
|
767
|
-
font-family: '
|
768
|
-
code-font-family: '
|
766
|
+
font-family: 'PingFang SC,Hiragino Sans GB,Microsoft YaHei'
|
767
|
+
code-font-family: 'monospace, monospace'
|
769
768
|
|
770
769
|
# 插入代码到头部 </head> 之前 和 底部 </body> 之前
|
771
770
|
# Insert code before </head> and before </body>
|
package/languages/en.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
more: More
|
2
|
+
star: Behold, those who found delight in this piece also perused
|
3
|
+
random: Around
|
4
|
+
|
1
5
|
theme:
|
2
6
|
dark: dark
|
3
7
|
light: light
|
@@ -6,15 +10,21 @@ copy:
|
|
6
10
|
success: Copied
|
7
11
|
error: Copied failed
|
8
12
|
|
13
|
+
copy_copyright:
|
14
|
+
author: Author
|
15
|
+
link: Link
|
16
|
+
source: Source
|
17
|
+
info: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
|
18
|
+
|
9
19
|
lately:
|
10
|
-
second: second
|
11
|
-
minute: minute
|
12
|
-
hour: hour
|
13
|
-
day: day
|
14
|
-
month: month
|
15
|
-
year: year
|
16
|
-
ago: ago
|
17
|
-
error: NaN
|
20
|
+
second: ' second'
|
21
|
+
minute: ' minute'
|
22
|
+
hour: ' hour'
|
23
|
+
day: ' day'
|
24
|
+
month: ' month'
|
25
|
+
year: ' year'
|
26
|
+
ago: ' ago'
|
27
|
+
error: ' NaN'
|
18
28
|
|
19
29
|
chs:
|
20
30
|
chs_tw: Traditional Chinese
|
@@ -29,28 +39,23 @@ page:
|
|
29
39
|
404: Page not found
|
30
40
|
|
31
41
|
home:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
new: New
|
38
|
-
read: Unread
|
39
|
-
top-group:
|
40
|
-
recommend: Favor
|
41
|
-
recommendmore: More
|
42
|
+
home: Home
|
43
|
+
sticky: Sticky
|
44
|
+
new: New
|
45
|
+
read: Unread
|
46
|
+
recommendmore: More
|
42
47
|
|
43
48
|
post:
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
reprint: Reprint
|
50
|
+
original: Original
|
51
|
+
copyright: This article is a ${cc} article, pay attention to the copyright.
|
52
|
+
posted: Posted on
|
53
|
+
updated: Last updated on
|
54
|
+
wordcount: Word count
|
55
|
+
minread: Reading time
|
56
|
+
ip: The author's IP belongs to
|
57
|
+
pv: PV
|
58
|
+
comment: Comments
|
54
59
|
|
55
60
|
nav:
|
56
61
|
site_name_title: Back to home
|
@@ -61,13 +66,9 @@ nav:
|
|
61
66
|
console: Console
|
62
67
|
|
63
68
|
award:
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
tip: Thanks
|
68
|
-
tip1: Tipping
|
69
|
-
tip2: Thank you for giving me the strength to move forward.
|
70
|
-
title: List of appreciation
|
69
|
+
thanks: Thanks
|
70
|
+
tipping: Tipping
|
71
|
+
title: List of appreciation
|
71
72
|
|
72
73
|
|
73
74
|
search:
|
@@ -103,8 +104,7 @@ console:
|
|
103
104
|
archive_unit: Posts
|
104
105
|
|
105
106
|
sidebar:
|
106
|
-
|
107
|
-
title2: Tags
|
107
|
+
function: Function
|
108
108
|
darkmode: Display mode
|
109
109
|
|
110
110
|
footer:
|
@@ -122,30 +122,26 @@ cookies:
|
|
122
122
|
music:
|
123
123
|
hit: Paused
|
124
124
|
|
125
|
-
rightmenu:
|
126
|
-
copytext: Copy the selected
|
127
|
-
pastetext: Paste the text
|
128
|
-
commenttext: Quote to comment
|
129
|
-
newwindow: A new window opens
|
130
|
-
copylink: Copy the link address
|
131
|
-
copyimg: Copy this image
|
132
|
-
downloadimg: Download this image
|
133
|
-
search: Search on the site
|
134
|
-
music:
|
135
|
-
toggle: Play music
|
136
|
-
back: Switch to the previous track
|
137
|
-
forward: Switch to the next track
|
138
|
-
playlist: See all songs
|
139
|
-
copyMusicName: Reproduction Song Name
|
140
|
-
randomPost: Feel free to wander around
|
141
|
-
categories: Article classification
|
142
|
-
tags: Article tags
|
143
|
-
copyaddress: Copy the address
|
144
|
-
commentBarrage: Turn off trending reviews
|
145
|
-
dark: Dark
|
146
|
-
light: Light
|
147
|
-
chs_to_cht: Traditional
|
148
|
-
cht_to_chs: Simplified
|
149
|
-
|
150
125
|
404:
|
151
|
-
button: Back to home
|
126
|
+
button: Back to home
|
127
|
+
|
128
|
+
link:
|
129
|
+
banner:
|
130
|
+
toComment: Application link
|
131
|
+
random: Random Visit
|
132
|
+
random: You are about to ⌈ ${name} ⌋ , security unknown.
|
133
|
+
|
134
|
+
keyboard:
|
135
|
+
title: Blog shortcuts
|
136
|
+
|
137
|
+
newest_comment:
|
138
|
+
error: Unable to get a comment, please confirm that the relevant configuration is correct.
|
139
|
+
zero: No comments.
|
140
|
+
|
141
|
+
comment:
|
142
|
+
title: ' Comment'
|
143
|
+
|
144
|
+
commentBarrage:
|
145
|
+
title: Hot
|
146
|
+
|
147
|
+
f12: Developer mode is turned on, please follow the GPL.
|
package/languages/zh-CN.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
more: 更多
|
2
|
+
star: 喜欢这篇的人也看了
|
3
|
+
random: 随便逛逛
|
4
|
+
|
1
5
|
# Language: 简体中文
|
2
6
|
theme:
|
3
7
|
dark: 已切换至深色模式
|
@@ -7,6 +11,12 @@ copy:
|
|
7
11
|
success: 复制成功
|
8
12
|
error: 复制失败
|
9
13
|
|
14
|
+
copy_copyright:
|
15
|
+
author: 作者
|
16
|
+
link: 链接
|
17
|
+
source: 来源
|
18
|
+
info: 著作权归作者所有。 商业转载请联系作者获得授权,非商业转载请注明出处。
|
19
|
+
|
10
20
|
lately:
|
11
21
|
second: 秒
|
12
22
|
minute: 分钟
|
@@ -38,37 +48,29 @@ nav:
|
|
38
48
|
console: 中控台
|
39
49
|
|
40
50
|
home:
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
read: 未读
|
48
|
-
top-group:
|
49
|
-
recommend: 荐
|
50
|
-
recommendmore: 更多推荐
|
51
|
+
home: 首页
|
52
|
+
sticky: 置顶
|
53
|
+
new: 最新
|
54
|
+
read: 未读
|
55
|
+
recommend: 荐
|
56
|
+
recommendmore: 更多推荐
|
51
57
|
|
52
58
|
post:
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
reprint: 转载或翻译
|
60
|
+
original: 原创
|
61
|
+
cc: 该文章为${cc}文章,注意版权协议
|
62
|
+
posted: 发布于
|
63
|
+
updated: 最后更新于
|
64
|
+
wordcount: 文章字数
|
65
|
+
minread: 阅读耗时
|
66
|
+
ip: 作者IP归属地为
|
67
|
+
pv: 文章热度
|
68
|
+
comment: 评论数
|
63
69
|
|
64
70
|
award:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
tip: 致谢
|
69
|
-
tip1: 赞赏作者
|
70
|
-
tip2: 感谢你赐予我前进的力量
|
71
|
-
title: 赞赏名单
|
71
|
+
thanks: 致谢
|
72
|
+
tipping: 赞赏作者
|
73
|
+
title: 赞赏名单
|
72
74
|
|
73
75
|
search:
|
74
76
|
empty: 找不到你查询的内容:${query}
|
@@ -103,8 +105,7 @@ console:
|
|
103
105
|
archive_unit: 篇
|
104
106
|
|
105
107
|
sidebar:
|
106
|
-
|
107
|
-
title2: 标签
|
108
|
+
function: 功能
|
108
109
|
darkmode: 显示模式
|
109
110
|
|
110
111
|
footer:
|
@@ -122,30 +123,26 @@ cookies:
|
|
122
123
|
music:
|
123
124
|
hit: 音乐已暂停
|
124
125
|
|
125
|
-
rightmenu:
|
126
|
-
copytext: 复制选中文本
|
127
|
-
pastetext: 粘贴文本
|
128
|
-
commenttext: 引用到评论
|
129
|
-
newwindow: 新窗口打开
|
130
|
-
copylink: 复制链接地址
|
131
|
-
copyimg: 复制此图片
|
132
|
-
downloadimg: 下载此图片
|
133
|
-
search: 站内搜索
|
134
|
-
music:
|
135
|
-
toggle: 播放音乐
|
136
|
-
back: 切换到上一首
|
137
|
-
forward: 切换到下一首
|
138
|
-
playlist: 查看所有歌曲
|
139
|
-
copyMusicName: 复制歌名
|
140
|
-
randomPost: 随便逛逛
|
141
|
-
categories: 文章分类
|
142
|
-
tags: 文章标签
|
143
|
-
copyaddress: 复制地址
|
144
|
-
commentBarrage: 关闭热评
|
145
|
-
dark: 深色模式
|
146
|
-
light: 浅色模式
|
147
|
-
chs_to_cht: 轉為繁體
|
148
|
-
cht_to_chs: 转为简体
|
149
|
-
|
150
126
|
404:
|
151
|
-
button: 返回首页
|
127
|
+
button: 返回首页
|
128
|
+
|
129
|
+
link:
|
130
|
+
banner:
|
131
|
+
toComment: 申请友链
|
132
|
+
random: 随机访问
|
133
|
+
random: 您即将前往 ⌈ ${name} ⌋ , 安全性未知
|
134
|
+
|
135
|
+
keyboard:
|
136
|
+
title: 博客快捷键
|
137
|
+
|
138
|
+
newest_comment:
|
139
|
+
error: 无法获取评论,请确认相关配置是否正确。
|
140
|
+
zero: 没有评论
|
141
|
+
|
142
|
+
comment:
|
143
|
+
title: 评论
|
144
|
+
|
145
|
+
commentBarrage:
|
146
|
+
title: 热评
|
147
|
+
|
148
|
+
f12: 开发者模式已打开,请遵循GPL协议。
|
package/languages/zh-TW.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
more: 更多
|
2
|
+
star: 喜歡這篇的人也看了
|
3
|
+
random: 随便逛逛
|
4
|
+
|
1
5
|
# Language: 繁體中文 (台灣)
|
2
6
|
theme:
|
3
7
|
dark: 已切換至深色模式
|
@@ -7,6 +11,12 @@ copy:
|
|
7
11
|
success: 複製成功
|
8
12
|
error: 複製失敗
|
9
13
|
|
14
|
+
copy_copyright:
|
15
|
+
author: 作者
|
16
|
+
link: 連結
|
17
|
+
source: 來源
|
18
|
+
info: 著作權歸作者所有。 商業轉載請聯繫作者獲得授權,非商業轉載請註明出處。
|
19
|
+
|
10
20
|
lately:
|
11
21
|
second: 秒
|
12
22
|
minute: 分鐘
|
@@ -38,37 +48,29 @@ nav:
|
|
38
48
|
console: 中控台
|
39
49
|
|
40
50
|
home:
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
read: 未讀
|
48
|
-
top-group:
|
49
|
-
recommend: 荐
|
50
|
-
recommendmore: 更多推薦
|
51
|
+
home: 首頁
|
52
|
+
sticky: 置頂
|
53
|
+
new: 最新
|
54
|
+
read: 未讀
|
55
|
+
recommend: 荐
|
56
|
+
recommendmore: 更多推薦
|
51
57
|
|
52
58
|
post:
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
reprint: 轉載或翻譯
|
60
|
+
original: 原創
|
61
|
+
cc: 該文章為${cc}文章,注意版權協議
|
62
|
+
posted: 發布於
|
63
|
+
updated: 最後更新於
|
64
|
+
wordcount: 文章字數
|
65
|
+
minread: 閱讀耗時
|
66
|
+
ip: 作者IP歸屬地為
|
67
|
+
pv: 文章熱度
|
68
|
+
comment: 評論數
|
63
69
|
|
64
70
|
award:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
tip: 致謝
|
69
|
-
tip1: 贊助作者
|
70
|
-
tip2: 感謝你賜予我前進的力量
|
71
|
-
title: 贊助作者
|
71
|
+
thanks: 致謝
|
72
|
+
tipping: 贊助作者
|
73
|
+
title: 讚賞名單
|
72
74
|
|
73
75
|
search:
|
74
76
|
empty: 找不到你查詢的內容:${query}
|
@@ -103,8 +105,7 @@ console:
|
|
103
105
|
archive_unit: 篇
|
104
106
|
|
105
107
|
sidebar:
|
106
|
-
|
107
|
-
title2: 標籤
|
108
|
+
function: 功能
|
108
109
|
darkmode: 顯示模式
|
109
110
|
|
110
111
|
footer:
|
@@ -122,30 +123,26 @@ cookies:
|
|
122
123
|
music:
|
123
124
|
hit: 音樂已暫停
|
124
125
|
|
125
|
-
rightmenu:
|
126
|
-
copytext: 複製選中文本
|
127
|
-
pastetext: 粘貼文本
|
128
|
-
commenttext: 引用到評論
|
129
|
-
newwindow: 新窗口打開
|
130
|
-
copylink: 複製連結位址
|
131
|
-
copyimg: 複製此圖片
|
132
|
-
downloadimg: 下載此圖片
|
133
|
-
search: 站內搜索
|
134
|
-
music:
|
135
|
-
toggle: 播放音樂
|
136
|
-
back: 切換到上一首
|
137
|
-
forward: 切換到下一首
|
138
|
-
playlist: 查看所有歌曲
|
139
|
-
copyMusicName: 複製歌名
|
140
|
-
randomPost: 随便逛逛
|
141
|
-
categories: 文章分類
|
142
|
-
tags: 文章標籤
|
143
|
-
copyaddress: 複製位址
|
144
|
-
commentBarrage: 關閉熱評
|
145
|
-
dark: 深色模式
|
146
|
-
light: 淺色模式
|
147
|
-
chs_to_cht: 轉為繁體
|
148
|
-
cht_to_chs: 转为简体
|
149
|
-
|
150
126
|
404:
|
151
|
-
button: 返回首頁
|
127
|
+
button: 返回首頁
|
128
|
+
|
129
|
+
link:
|
130
|
+
banner:
|
131
|
+
toComment: 申請友鏈
|
132
|
+
random: 隨機訪問
|
133
|
+
random: 您即將前往 ⌈ ${name} ⌋ , 安全性未知
|
134
|
+
|
135
|
+
keyboard:
|
136
|
+
title: 博客快捷鍵
|
137
|
+
|
138
|
+
newest_comment:
|
139
|
+
error: 無法獲取評論,請確認相關配置是否正確。
|
140
|
+
zero: 沒有評論
|
141
|
+
|
142
|
+
comment:
|
143
|
+
title: 評論
|
144
|
+
|
145
|
+
commentBarrage:
|
146
|
+
title: 熱評
|
147
|
+
|
148
|
+
f12: 開發者模式已打開,請遵循GPL協定。
|
package/layout/404.pug
CHANGED
package/layout/category.pug
CHANGED
@@ -6,7 +6,7 @@ block content
|
|
6
6
|
#category-bar
|
7
7
|
include includes/widgets/home/categoryBar
|
8
8
|
.recent-posts#recent-posts
|
9
|
-
each post in page.posts.find({ parent: { $exists: false } }).data
|
9
|
+
each post,index in page.posts.find({ parent: { $exists: false } }).data
|
10
10
|
include includes/widgets/home/postList
|
11
11
|
include includes/mixins/pagination
|
12
12
|
include includes/widgets/aside/aside
|