hexo-theme-fluid 1.8.13 → 1.9.1
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/LICENSE +674 -21
- package/README.md +17 -21
- package/_config.yml +164 -79
- package/languages/de.yml +58 -33
- package/languages/en.yml +58 -33
- package/languages/eo.yml +58 -33
- package/languages/es.yml +69 -0
- package/languages/ja.yml +58 -33
- package/languages/zh-CN.yml +58 -33
- package/languages/zh-HK.yml +69 -0
- package/languages/zh-TW.yml +58 -33
- package/layout/.DS_Store +0 -0
- package/layout/404.ejs +3 -1
- package/layout/{_partial → _partials}/archive-list.ejs +4 -4
- package/layout/_partials/category-chains.ejs +19 -0
- package/layout/_partials/category-list.ejs +62 -0
- package/layout/{_partial → _partials}/comments/changyan.ejs +0 -0
- package/layout/{_partial → _partials}/comments/cusdis.ejs +0 -0
- package/layout/{_partial → _partials}/comments/disqus.ejs +0 -0
- package/layout/_partials/comments/giscus.ejs +36 -0
- package/layout/{_partial → _partials}/comments/gitalk.ejs +0 -0
- package/layout/{_partial → _partials}/comments/livere.ejs +0 -0
- package/layout/{_partial → _partials}/comments/remark42.ejs +0 -0
- package/layout/{_partial → _partials}/comments/twikoo.ejs +3 -1
- package/layout/{_partial → _partials}/comments/utterances.ejs +1 -1
- package/layout/{_partial → _partials}/comments/valine.ejs +3 -1
- package/layout/{_partial → _partials}/comments/waline.ejs +6 -3
- package/layout/_partials/comments.ejs +5 -0
- package/layout/_partials/css.ejs +26 -0
- package/layout/_partials/footer/beian.ejs +33 -0
- package/layout/_partials/footer/statistics.ejs +39 -0
- package/layout/_partials/footer.ejs +18 -0
- package/layout/{_partial → _partials}/head.ejs +7 -1
- package/layout/_partials/header/banner.ejs +33 -0
- package/layout/{_partial/nav.ejs → _partials/header/navigation.ejs} +3 -2
- package/layout/_partials/header.ejs +8 -0
- package/layout/{_partial → _partials}/paginator.ejs +0 -0
- package/layout/_partials/plugins/analytics.ejs +87 -0
- package/layout/_partials/plugins/anchorjs.ejs +24 -0
- package/layout/_partials/plugins/code-widget.ejs +71 -0
- package/layout/_partials/plugins/fancybox.ejs +11 -0
- package/layout/_partials/plugins/highlight.ejs +13 -0
- package/layout/_partials/plugins/math.ejs +46 -0
- package/layout/_partials/plugins/mermaid.ejs +5 -0
- package/layout/{_partial → _partials}/plugins/nprogress.ejs +0 -0
- package/layout/_partials/plugins/typed.ejs +48 -0
- package/layout/_partials/post/category-bar.ejs +18 -0
- package/layout/_partials/post/copyright.ejs +56 -0
- package/layout/_partials/post/meta-bottom.ejs +16 -0
- package/layout/_partials/post/meta-top.ejs +63 -0
- package/layout/_partials/post/sidebar-left.ejs +10 -0
- package/layout/_partials/post/sidebar-right.ejs +10 -0
- package/layout/_partials/post/toc.ejs +34 -0
- package/layout/_partials/scripts.ejs +32 -0
- package/layout/{_partial → _partials}/search.ejs +2 -3
- package/layout/about.ejs +5 -3
- package/layout/archive.ejs +1 -1
- package/layout/categories.ejs +10 -59
- package/layout/category.ejs +1 -1
- package/layout/index.ejs +13 -15
- package/layout/layout.ejs +19 -39
- package/layout/links.ejs +2 -8
- package/layout/page.ejs +28 -12
- package/layout/post.ejs +65 -59
- package/layout/tag.ejs +1 -1
- package/package.json +11 -3
- package/scripts/.DS_Store +0 -0
- package/scripts/events/.DS_Store +0 -0
- package/scripts/events/index.js +1 -0
- package/scripts/events/lib/compatible-configs.js +7 -8
- package/scripts/events/lib/footnote.js +1 -1
- package/scripts/events/lib/hello.js +6 -2
- package/scripts/events/lib/highlight.js +93 -24
- package/scripts/events/lib/injects.js +118 -0
- package/scripts/events/lib/merge-configs.js +37 -7
- package/scripts/filters/default-injects.js +27 -0
- package/scripts/filters/post-filter.js +7 -0
- package/scripts/helpers/date.js +25 -0
- package/scripts/helpers/engine.js +9 -0
- package/scripts/helpers/export-config.js +8 -0
- package/scripts/helpers/import.js +24 -0
- package/scripts/helpers/injects.js +7 -0
- package/scripts/helpers/scope.js +44 -0
- package/scripts/helpers/utils.js +17 -2
- package/scripts/tags/checkbox.js +4 -2
- package/scripts/utils/.DS_Store +0 -0
- package/scripts/utils/object.js +5 -0
- package/scripts/utils/resolve.js +15 -0
- package/source/.DS_Store +0 -0
- package/source/css/_pages/_archive/archive.styl +28 -0
- package/source/css/_pages/_base/_widget/anchorjs.styl +8 -0
- package/source/css/_pages/_base/_widget/banner.styl +2 -11
- package/source/css/_pages/_base/_widget/board.styl +1 -4
- package/source/css/_pages/_base/_widget/code-widget.styl +36 -0
- package/source/css/_pages/_base/_widget/copyright.styl +90 -0
- package/source/css/_pages/_base/_widget/footer.styl +4 -1
- package/source/css/_pages/_base/_widget/header.styl +161 -2
- package/source/css/_pages/_base/_widget/modal.styl +100 -0
- package/source/css/_pages/_base/_widget/ngrogress.styl +12 -0
- package/source/css/_pages/_base/_widget/noscript.styl +12 -0
- package/source/css/_pages/_base/_widget/pagination.styl +23 -0
- package/source/css/_pages/_base/_widget/scroll-btn.styl +2 -15
- package/source/css/_pages/_base/_widget/toc.styl +75 -0
- package/source/css/_pages/_base/base.styl +23 -3
- package/source/css/_pages/_base/color-schema.styl +30 -58
- package/source/css/_pages/_base/inline.styl +2 -2
- package/source/css/_pages/_category/category-bar.styl +59 -0
- package/source/css/_pages/_category/category-chain.styl +6 -0
- package/source/css/_pages/_category/{categories.styl → category-list.styl} +17 -11
- package/source/css/_pages/_index/index.styl +7 -5
- package/source/css/_pages/_links/links.styl +2 -1
- package/source/css/_pages/_post/comment.styl +27 -0
- package/source/css/_pages/_post/highlight.styl +65 -0
- package/source/css/_pages/_post/markdown.styl +91 -0
- package/source/css/_pages/_post/{post.styl → post-page.styl} +44 -75
- package/source/css/_pages/_post/{tag_plugin.styl → post-tag.styl} +29 -27
- package/source/css/_variables/base.styl +30 -9
- package/source/css/highlight-dark.styl +6 -0
- package/source/css/highlight.styl +6 -0
- package/source/css/main.styl +7 -0
- package/source/img/.DS_Store +0 -0
- package/source/img/default.png +0 -0
- package/source/img/{favicon.png → fluid.png} +0 -0
- package/source/js/boot.js +1 -9
- package/source/js/color-schema.js +52 -7
- package/source/js/events.js +15 -15
- package/source/js/leancloud.js +9 -2
- package/source/js/local-search.js +2 -2
- package/source/js/plugins.js +26 -94
- package/source/js/utils.js +28 -12
- package/.editorconfig +0 -13
- package/.eslintrc +0 -224
- package/.gitattributes +0 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -28
- package/.github/ISSUE_TEMPLATE/bug_report_zh.md +0 -33
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/ISSUE_TEMPLATE/feature_request_zh.md +0 -20
- package/.github/ISSUE_TEMPLATE/question.md +0 -11
- package/.github/ISSUE_TEMPLATE/question_zh.md +0 -14
- package/.github/workflows/limit.yaml +0 -18
- package/README_en.md +0 -125
- package/layout/_partial/beian.ejs +0 -36
- package/layout/_partial/css.ejs +0 -47
- package/layout/_partial/footer.ejs +0 -11
- package/layout/_partial/plugins/analytics.ejs +0 -66
- package/layout/_partial/plugins/math.ejs +0 -69
- package/layout/_partial/plugins/mermaid.ejs +0 -24
- package/layout/_partial/plugins/typed.ejs +0 -41
- package/layout/_partial/post-meta.ejs +0 -51
- package/layout/_partial/scripts.ejs +0 -72
- package/layout/_partial/statistics.ejs +0 -43
- package/layout/_partial/toc.ejs +0 -4
- package/source/css/_pages/_base/_widget/copy-btn.styl +0 -42
- package/source/css/_pages/_base/rewrite.styl +0 -556
- package/source/css/_pages/_category/category.styl +0 -0
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|

|
|
9
9
|
|
|
10
10
|
<p align="center">
|
|
11
|
-
<a title="Hexo Version" target="_blank" href="https://hexo.io/zh-cn/"><img alt="Hexo Version" src="https://img.shields.io/badge/Hexo-%3E%3D%
|
|
12
|
-
<a title="Node Version" target="_blank" href="https://nodejs.org/zh-cn/"><img alt="Node Version" src="https://img.shields.io/badge/Node-%3E%3D%
|
|
11
|
+
<a title="Hexo Version" target="_blank" href="https://hexo.io/zh-cn/"><img alt="Hexo Version" src="https://img.shields.io/badge/Hexo-%3E%3D%205.0-orange?style=flat"></a>
|
|
12
|
+
<a title="Node Version" target="_blank" href="https://nodejs.org/zh-cn/"><img alt="Node Version" src="https://img.shields.io/badge/Node-%3E%3D%2010.13.0-yellowgreen?style=flat"></a>
|
|
13
13
|
<a title="License" target="_blank" href="https://github.com/fluid-dev/hexo-theme-fluid/blob/master/LICENSE"><img alt="License" src="https://img.shields.io/github/license/fluid-dev/hexo-theme-fluid.svg?style=flat"></a>
|
|
14
14
|
<br>
|
|
15
15
|
<a title="GitHub Release" target="_blank" href="https://github.com/fluid-dev/hexo-theme-fluid/releases"><img alt="GitHub Release" src="https://img.shields.io/github/v/release/fluid-dev/hexo-theme-fluid?style=flat"></a>
|
|
@@ -82,7 +82,6 @@ hexo new page about
|
|
|
82
82
|
```yaml
|
|
83
83
|
---
|
|
84
84
|
title: about
|
|
85
|
-
date: 2020-02-23 19:20:33
|
|
86
85
|
layout: about
|
|
87
86
|
---
|
|
88
87
|
|
|
@@ -95,20 +94,25 @@ layout: about
|
|
|
95
94
|
|
|
96
95
|
## 功能特性
|
|
97
96
|
|
|
98
|
-
- [x] 图片懒加载
|
|
99
|
-
- [x] 自定义代码高亮方案
|
|
100
|
-
- [x] 内置多语言
|
|
101
|
-
- [x] 支持多款评论插件
|
|
102
|
-
- [x] 支持使用[数据文件](https://hexo.io/zh-cn/docs/data-files)存放配置
|
|
103
|
-
- [x] 自定义静态资源 CDN
|
|
104
97
|
- [x] 无比详实的[用户文档](https://hexo.fluid-dev.com/docs/)
|
|
105
|
-
- [x]
|
|
106
|
-
- [x]
|
|
107
|
-
- [x]
|
|
98
|
+
- [x] 页面组件懒加载
|
|
99
|
+
- [x] 多种代码高亮方案
|
|
100
|
+
- [x] 多语言配置
|
|
101
|
+
- [x] 内置多款评论插件
|
|
102
|
+
- [x] 内置网页访问统计
|
|
103
|
+
- [x] 内置文章本地搜索
|
|
104
|
+
- [x] 支持暗色模式
|
|
108
105
|
- [x] 支持脚注语法
|
|
109
106
|
- [x] 支持 LaTeX 数学公式
|
|
110
107
|
- [x] 支持 mermaid 流程图
|
|
111
|
-
|
|
108
|
+
|
|
109
|
+
## 支持我们
|
|
110
|
+
|
|
111
|
+
你可以扫描下方微信赞赏码支持我们的开源创作,让我们可以补贴服务器及域名等日常开销。
|
|
112
|
+
|
|
113
|
+
<img src="https://github.com/fluid-dev/static/blob/master/hexo-theme-fluid/sponsor.png?s=200&v=4" width="200" alt="微信赞赏码">
|
|
114
|
+
|
|
115
|
+
同时我们正在**寻求商业赞助**,如果贵司想在本页显著位置展示广告位(每月 6K+ Views 定向流量曝光),或者有其他赞助形式,可将联系方式发送邮件至 zkqiang#126.com (#替换为@)。
|
|
112
116
|
|
|
113
117
|
## 贡献者
|
|
114
118
|
|
|
@@ -120,14 +124,6 @@ layout: about
|
|
|
120
124
|
|
|
121
125
|
如你也想贡献代码,可参照[贡献指南](https://hexo.fluid-dev.com/docs/contribute/)
|
|
122
126
|
|
|
123
|
-
## 支持
|
|
124
|
-
|
|
125
|
-
你可以扫描下方微信赞赏码支持我们的开源创作,资金将用于服务器及域名开销以及今后的公共接口服务。
|
|
126
|
-
|
|
127
|
-
<img src="https://github.com/fluid-dev/static/blob/master/hexo-theme-fluid/sponsor.png?s=200&v=4" width="200" alt="微信赞赏码">
|
|
128
|
-
|
|
129
|
-
同时我们正在寻找商业赞助商,如果贵司想在本页展示广告位(每月 6K+ Views 定向流量曝光),或者有其他赞助形式,可将联系方式发送邮件至 zkqiang#126.com (#替换为@)。
|
|
130
|
-
|
|
131
127
|
## 鸣谢
|
|
132
128
|
|
|
133
129
|
<a title="鸣谢 JetBrains 免费授权开发工具" href="https://www.jetbrains.com/?from=hexo-theme-fluid" target="_blank">
|
package/_config.yml
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
# 用于浏览器标签的图标
|
|
20
20
|
# Icon for browser tab
|
|
21
|
-
favicon: /img/
|
|
21
|
+
favicon: /img/fluid.png
|
|
22
22
|
|
|
23
23
|
# 用于苹果设备的图标
|
|
24
24
|
# Icon for Apple touch
|
|
25
|
-
apple_touch_icon: /img/
|
|
25
|
+
apple_touch_icon: /img/fluid.png
|
|
26
26
|
|
|
27
27
|
# 浏览器标签页中的标题分隔符,效果: 文章名 - 站点名
|
|
28
28
|
# Title separator in browser tab, eg: article - site
|
|
@@ -39,6 +39,12 @@ code:
|
|
|
39
39
|
# Enable copy code button
|
|
40
40
|
copy_btn: true
|
|
41
41
|
|
|
42
|
+
# 代码语言
|
|
43
|
+
# Code language
|
|
44
|
+
language:
|
|
45
|
+
enable: true
|
|
46
|
+
default: "TEXT"
|
|
47
|
+
|
|
42
48
|
# 代码高亮
|
|
43
49
|
# Code highlight
|
|
44
50
|
highlight:
|
|
@@ -57,19 +63,17 @@ code:
|
|
|
57
63
|
# 在链接中挑选 style 填入
|
|
58
64
|
# Select a style in the link
|
|
59
65
|
# See: https://highlightjs.org/static/demo/
|
|
60
|
-
style: "
|
|
61
|
-
|
|
62
|
-
# 是否根据 style 改变代码背景色(如果 style 是深色背景别忘了开启此项)
|
|
63
|
-
# If true, the code background will change color based on the style (If style has a dark background, don't forget to true)
|
|
64
|
-
bg_color: false
|
|
66
|
+
style: "github gist"
|
|
67
|
+
style_dark: "dark"
|
|
65
68
|
|
|
66
69
|
prismjs:
|
|
67
70
|
# 在下方链接页面右侧的圆形按钮挑选 style 填入,也可以直接填入 css 链接
|
|
68
71
|
# Select the style button on the right side of the link page, you can also set the CSS link
|
|
69
72
|
# See: https://prismjs.com/
|
|
70
73
|
style: "default"
|
|
74
|
+
style_dark: "tomorrow night"
|
|
71
75
|
|
|
72
|
-
# 设为 true
|
|
76
|
+
# 设为 true 高亮将本地静态生成(但只支持部分 prismjs 插件),设为 false 高亮将在浏览器通过 js 生成
|
|
73
77
|
# If true, it will be generated locally (but some prismjs plugins are not supported). If false, it will be generated via JS in the browser
|
|
74
78
|
preprocess: true
|
|
75
79
|
|
|
@@ -93,15 +97,21 @@ fun_features:
|
|
|
93
97
|
# If true, loop animation
|
|
94
98
|
loop: false
|
|
95
99
|
|
|
100
|
+
# 在指定页面开启,不填则在所有页面开启
|
|
101
|
+
# Enable in specified page, all pages by default
|
|
102
|
+
# Options: home | post | tag | category | about | links | page | 404
|
|
103
|
+
scope: []
|
|
104
|
+
|
|
96
105
|
# 为文章内容中的标题添加锚图标
|
|
97
106
|
# Add an anchor icon to the title on the post page
|
|
98
107
|
anchorjs:
|
|
99
108
|
enable: true
|
|
100
109
|
element: h1,h2,h3,h4,h5,h6
|
|
101
|
-
|
|
110
|
+
# Options: left | right
|
|
111
|
+
placement: left
|
|
102
112
|
# Options: hover | always | touch
|
|
103
113
|
visible: hover
|
|
104
|
-
#
|
|
114
|
+
# Options: § | # | ❡
|
|
105
115
|
icon: ""
|
|
106
116
|
|
|
107
117
|
# 加载进度条
|
|
@@ -143,6 +153,11 @@ color:
|
|
|
143
153
|
navbar_text_color: "#fff"
|
|
144
154
|
navbar_text_color_dark: "#d0d0d0"
|
|
145
155
|
|
|
156
|
+
# 副标题字体色
|
|
157
|
+
# Color of navigation bar text
|
|
158
|
+
subtitle_color: "#fff"
|
|
159
|
+
subtitle_color_dark: "#d0d0d0"
|
|
160
|
+
|
|
146
161
|
# 全局字体色
|
|
147
162
|
# Color of global text
|
|
148
163
|
text_color: "#3c4858"
|
|
@@ -153,6 +168,11 @@ color:
|
|
|
153
168
|
sec_text_color: "#718096"
|
|
154
169
|
sec_text_color_dark: "#a7a9ad"
|
|
155
170
|
|
|
171
|
+
# 主面板背景色
|
|
172
|
+
# Color of main board
|
|
173
|
+
board_color: "#fff"
|
|
174
|
+
board_color_dark: "#252d38"
|
|
175
|
+
|
|
156
176
|
# 文章正文字体色
|
|
157
177
|
# Color of post text
|
|
158
178
|
post_text_color: "#2c3e50"
|
|
@@ -178,10 +198,28 @@ color:
|
|
|
178
198
|
link_hover_bg_color: "#f8f9fa"
|
|
179
199
|
link_hover_bg_color_dark: "#364151"
|
|
180
200
|
|
|
181
|
-
#
|
|
182
|
-
# Color of
|
|
183
|
-
|
|
184
|
-
|
|
201
|
+
# 分隔线和表格边线的颜色
|
|
202
|
+
# Color of horizontal rule and table border
|
|
203
|
+
line_color: "#eaecef"
|
|
204
|
+
line_color_dark: "#435266"
|
|
205
|
+
|
|
206
|
+
# 滚动条颜色
|
|
207
|
+
# Color of scrollbar
|
|
208
|
+
scrollbar_color: "#c4c6c9"
|
|
209
|
+
scrollbar_color_dark: "#687582"
|
|
210
|
+
# 滚动条悬浮颜色
|
|
211
|
+
# Color of scrollbar when hovering
|
|
212
|
+
scrollbar_hover_color: "#a6a6a6"
|
|
213
|
+
scrollbar_hover_color_dark: "#9da8b3"
|
|
214
|
+
|
|
215
|
+
# 按钮背景色
|
|
216
|
+
# Color of button
|
|
217
|
+
button_bg_color: "transparent"
|
|
218
|
+
button_bg_color_dark: "transparent"
|
|
219
|
+
# 按钮悬浮背景色
|
|
220
|
+
# Color of button when hovering
|
|
221
|
+
button_hover_bg_color: "#f2f3f5"
|
|
222
|
+
button_hover_bg_color_dark: "#46647e"
|
|
185
223
|
|
|
186
224
|
# 主题字体配置
|
|
187
225
|
# Font
|
|
@@ -199,19 +237,16 @@ custom_js:
|
|
|
199
237
|
# The usage is the same as custom_js
|
|
200
238
|
custom_css:
|
|
201
239
|
|
|
202
|
-
# 自定义 <head> 节点中的 HTML 内容
|
|
203
|
-
# Customize <head> HTML content
|
|
204
|
-
custom_head: ''
|
|
205
|
-
|
|
206
|
-
# 自定义底部 HTML 内容(位于 footer 上方),注意不要和 `post: custom` 配置冲突
|
|
207
|
-
# Customize the HTML content at the bottom (located above the footer), be careful not to conflict with `post: custom`
|
|
208
|
-
custom_html: ''
|
|
209
|
-
|
|
210
240
|
# 网页访问统计
|
|
211
241
|
# Analysis of website visitors
|
|
212
242
|
web_analytics: # 网页访问统计
|
|
213
243
|
enable: false
|
|
214
244
|
|
|
245
|
+
# 遵循访客浏览器"请勿追踪"的设置,如果开启则不统计其访问
|
|
246
|
+
# Follow the "Do Not Track" setting of the visitor's browser
|
|
247
|
+
# See: https://www.w3.org/TR/tracking-dnt/
|
|
248
|
+
follow_dnt: true
|
|
249
|
+
|
|
215
250
|
# 百度统计的 Key,值需要获取下方链接中 `hm.js?` 后边的字符串
|
|
216
251
|
# Baidu analytics, get the string behind `hm.js?`
|
|
217
252
|
# See: https://tongji.baidu.com/sc-web/10000033910/home/site/getjs?siteId=13751376
|
|
@@ -404,11 +439,6 @@ footer:
|
|
|
404
439
|
# Options: busuanzi | leancloud
|
|
405
440
|
source: "busuanzi"
|
|
406
441
|
|
|
407
|
-
# 页面显示的文本,{}是数字的占位符(必须包含),下同
|
|
408
|
-
# Displayed text, {} is a placeholder for numbers (must be included), the same below
|
|
409
|
-
pv_format: "总访问量 {} 次"
|
|
410
|
-
uv_format: "总访客数 {} 人"
|
|
411
|
-
|
|
412
442
|
# 国内大陆服务器的备案信息
|
|
413
443
|
# For Chinese mainland website policy, other areas keep disable
|
|
414
444
|
beian:
|
|
@@ -531,15 +561,11 @@ post:
|
|
|
531
561
|
# Word count
|
|
532
562
|
wordcount:
|
|
533
563
|
enable: true
|
|
534
|
-
# 显示的文本,{}是数字的占位符(必须包含),下同
|
|
535
|
-
# Displayed text, {} is a placeholder for numbers (must be included), the same below
|
|
536
|
-
format: "{} 字"
|
|
537
564
|
|
|
538
565
|
# 估计阅读全文需要的时长
|
|
539
566
|
# Estimated reading time
|
|
540
567
|
min2read:
|
|
541
568
|
enable: true
|
|
542
|
-
format: "{} 分钟"
|
|
543
569
|
# 每个字词的长度,建议:中文≈2,英文≈5,中英混合可自行调节
|
|
544
570
|
# Average word length (chars count in word), ZH ≈ 2, EN ≈ 5
|
|
545
571
|
awl: 2
|
|
@@ -555,28 +581,63 @@ post:
|
|
|
555
581
|
# Data Source
|
|
556
582
|
# Options: busuanzi | leancloud
|
|
557
583
|
source: "busuanzi"
|
|
558
|
-
format: "{} 次"
|
|
559
584
|
|
|
560
585
|
# 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式)
|
|
561
586
|
# Update date is displayed at the beginning of the post. The default date is the update date of the md file, which can be manually specified by `updated` in front-matter (same format as date)
|
|
562
587
|
updated:
|
|
563
588
|
enable: false
|
|
564
589
|
|
|
565
|
-
#
|
|
566
|
-
#
|
|
567
|
-
|
|
590
|
+
# 格式参照 ISO-8601 日期格式化
|
|
591
|
+
# ISO-8601 date format
|
|
592
|
+
# See: http://momentjs.cn/docs/#/parsing/string-format/
|
|
593
|
+
date_format: "LL a"
|
|
568
594
|
|
|
569
595
|
# 是否使用相对时间表示,比如:"3 天前"
|
|
570
596
|
# If true, it will be a relative time, such as: "3 days ago"
|
|
571
597
|
relative: false
|
|
572
598
|
|
|
573
|
-
|
|
574
|
-
|
|
599
|
+
# 提示标签类型
|
|
600
|
+
# Note class
|
|
601
|
+
# Options: default | primary | info | success | warning | danger | light
|
|
602
|
+
note_class: info
|
|
603
|
+
|
|
604
|
+
# 侧边栏展示当前分类下的文章
|
|
605
|
+
# Sidebar of category
|
|
606
|
+
category_bar:
|
|
607
|
+
enable: true
|
|
608
|
+
|
|
609
|
+
# 开启后,只有在文章 Front-matter 里指定 `category_bar: true` 才会展示分类,也可以通过 `category_bar: ["分类A"]` 来指定分类
|
|
610
|
+
# If true, only set `category_bar: true` in Front-matter will enable sidebar of category, also set `category_bar: ["CategoryA"]` to specify categories
|
|
611
|
+
specific: true
|
|
612
|
+
|
|
613
|
+
# 置于板块的左侧或右侧
|
|
614
|
+
# place in the board
|
|
615
|
+
# Options: left | right
|
|
616
|
+
placement: left
|
|
617
|
+
|
|
618
|
+
# 文章的排序字段,前面带减号是倒序,不带减号是正序
|
|
619
|
+
# Sort field for posts, with a minus sign is reverse order
|
|
620
|
+
# Options: date | title | or other field of front-matter
|
|
621
|
+
post_order_by: "title"
|
|
622
|
+
|
|
623
|
+
# 单个分类中折叠展示文章数的最大值,超过限制会显示 More,0 则不限制
|
|
624
|
+
# The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit
|
|
625
|
+
post_limit: 0
|
|
626
|
+
|
|
627
|
+
# 侧边栏展示文章目录
|
|
628
|
+
# Table of contents (TOC) in the sidebar
|
|
575
629
|
toc:
|
|
576
630
|
enable: true
|
|
631
|
+
|
|
632
|
+
# 置于板块的左侧或右侧
|
|
633
|
+
# place in the board
|
|
634
|
+
# Options: left | right
|
|
635
|
+
placement: right
|
|
636
|
+
|
|
577
637
|
# 目录会选择这些节点作为标题
|
|
578
638
|
# TOC will select these nodes as headings
|
|
579
639
|
headingSelector: "h1,h2,h3,h4,h5,h6"
|
|
640
|
+
|
|
580
641
|
# 层级的折叠深度,0 是全部折叠,大于 0 后如果存在下级标题则默认展开
|
|
581
642
|
# Collapse depth. If 0, all headings collapsed. If greater than 0, it will be expanded by default if there are sub headings
|
|
582
643
|
collapseDepth: 0
|
|
@@ -585,18 +646,36 @@ post:
|
|
|
585
646
|
# Copyright, will be displayed at the end of each post
|
|
586
647
|
copyright:
|
|
587
648
|
enable: true
|
|
588
|
-
|
|
649
|
+
|
|
650
|
+
# CreativeCommons license
|
|
651
|
+
# Options: BY | BY-SA | BY-ND | BY-NC | BY-NC-SA | BY-NC-ND
|
|
652
|
+
license: 'BY'
|
|
653
|
+
|
|
654
|
+
# 显示作者
|
|
655
|
+
author:
|
|
656
|
+
enable: true
|
|
657
|
+
|
|
658
|
+
# 显示发布日期
|
|
659
|
+
# Show post date
|
|
660
|
+
post_date:
|
|
661
|
+
enable: true
|
|
662
|
+
format: "LL"
|
|
663
|
+
|
|
664
|
+
# 显示更新日期
|
|
665
|
+
# Show update date
|
|
666
|
+
update_date:
|
|
667
|
+
enable: false
|
|
668
|
+
format: "LL"
|
|
589
669
|
|
|
590
670
|
# 文章底部上一篇下一篇功能
|
|
591
671
|
# Link to previous/next post
|
|
592
672
|
prev_next:
|
|
593
673
|
enable: true
|
|
594
674
|
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
|
|
598
|
-
enable:
|
|
599
|
-
content: '<img src="https://octodex.github.com/images/jetpacktocat.png" class="rounded mx-auto d-block mt-5" style="width:150px; height:150px;">'
|
|
675
|
+
# 文章图片标题
|
|
676
|
+
# Image caption
|
|
677
|
+
image_caption:
|
|
678
|
+
enable: true
|
|
600
679
|
|
|
601
680
|
# 文章图片可点击放大
|
|
602
681
|
# Zoom feature of images
|
|
@@ -648,7 +727,7 @@ post:
|
|
|
648
727
|
enable: false
|
|
649
728
|
# 指定的插件,需要同时设置对应插件的必要参数
|
|
650
729
|
# The specified plugin needs to set the necessary parameters at the same time
|
|
651
|
-
# Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis
|
|
730
|
+
# Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus
|
|
652
731
|
type: disqus
|
|
653
732
|
|
|
654
733
|
|
|
@@ -670,7 +749,6 @@ utterances:
|
|
|
670
749
|
label: utterances
|
|
671
750
|
theme: github-light
|
|
672
751
|
theme_dark: github-dark
|
|
673
|
-
crossorigin: anonymous
|
|
674
752
|
|
|
675
753
|
# Disqus
|
|
676
754
|
# 基于第三方的服务,国内用户直接使用容易被墙,建议配合 Disqusjs
|
|
@@ -734,18 +812,13 @@ valine:
|
|
|
734
812
|
waline:
|
|
735
813
|
serverURL: ''
|
|
736
814
|
path: window.location.pathname
|
|
737
|
-
placeholder:
|
|
738
815
|
meta: ['nick', 'mail', 'link']
|
|
739
816
|
requiredMeta: ['nick']
|
|
740
817
|
lang: 'zh-CN'
|
|
741
818
|
emoji: ['https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo']
|
|
742
819
|
dark: 'html[data-user-color-scheme="dark"]'
|
|
743
|
-
avatar: 'retro'
|
|
744
|
-
avatarCDN: 'https://seccdn.libravatar.org/avatar/'
|
|
745
|
-
avatarForce: false
|
|
746
820
|
wordLimit: 0
|
|
747
821
|
pageSize: 10
|
|
748
|
-
highlight: true
|
|
749
822
|
|
|
750
823
|
# 畅言 Changyan
|
|
751
824
|
# 基于第三方的服务
|
|
@@ -791,6 +864,23 @@ cusdis:
|
|
|
791
864
|
app_id:
|
|
792
865
|
lang: zh-cn
|
|
793
866
|
|
|
867
|
+
# Giscus
|
|
868
|
+
# 基于 GitHub Discussions,类似于 Utterances
|
|
869
|
+
# Based on GitHub Discussions, similar to Utterances
|
|
870
|
+
# See: https://giscus.app/
|
|
871
|
+
giscus:
|
|
872
|
+
repo:
|
|
873
|
+
repo-id:
|
|
874
|
+
category:
|
|
875
|
+
category-id:
|
|
876
|
+
theme-light: light
|
|
877
|
+
theme-dark: dark
|
|
878
|
+
mapping: pathname
|
|
879
|
+
reactions-enabled: 1
|
|
880
|
+
emit-metadata: 0
|
|
881
|
+
input-position: top
|
|
882
|
+
lang: zh-CN
|
|
883
|
+
|
|
794
884
|
#---------------------------
|
|
795
885
|
# 归档页
|
|
796
886
|
# Archive Page
|
|
@@ -799,7 +889,6 @@ archive:
|
|
|
799
889
|
banner_img: /img/default.png
|
|
800
890
|
banner_img_height: 60
|
|
801
891
|
banner_mask_alpha: 0.3
|
|
802
|
-
subtitle:
|
|
803
892
|
|
|
804
893
|
|
|
805
894
|
#---------------------------
|
|
@@ -811,7 +900,6 @@ category:
|
|
|
811
900
|
banner_img: /img/default.png
|
|
812
901
|
banner_img_height: 60
|
|
813
902
|
banner_mask_alpha: 0.3
|
|
814
|
-
subtitle:
|
|
815
903
|
|
|
816
904
|
# 分类的排序字段,前面带减号是倒序,不带减号是正序
|
|
817
905
|
# Sort field for categories, with a minus sign is reverse order
|
|
@@ -841,7 +929,6 @@ tag:
|
|
|
841
929
|
banner_img: /img/default.png
|
|
842
930
|
banner_img_height: 80
|
|
843
931
|
banner_mask_alpha: 0.3
|
|
844
|
-
subtitle:
|
|
845
932
|
tagcloud:
|
|
846
933
|
min_font: 15
|
|
847
934
|
max_font: 30
|
|
@@ -859,7 +946,6 @@ about:
|
|
|
859
946
|
banner_img: /img/default.png
|
|
860
947
|
banner_img_height: 60
|
|
861
948
|
banner_mask_alpha: 0.3
|
|
862
|
-
subtitle:
|
|
863
949
|
avatar: /img/avatar.png
|
|
864
950
|
name: "Fluid"
|
|
865
951
|
intro: "An elegant theme for Hexo"
|
|
@@ -893,7 +979,9 @@ page404:
|
|
|
893
979
|
banner_img: /img/default.png
|
|
894
980
|
banner_img_height: 85
|
|
895
981
|
banner_mask_alpha: 0.3
|
|
896
|
-
|
|
982
|
+
# 重定向到首页的延迟(毫秒)
|
|
983
|
+
# Delay in redirecting to home page (milliseconds)
|
|
984
|
+
redirect_delay: 5000
|
|
897
985
|
|
|
898
986
|
|
|
899
987
|
#---------------------------
|
|
@@ -905,7 +993,6 @@ links:
|
|
|
905
993
|
banner_img: /img/default.png
|
|
906
994
|
banner_img_height: 60
|
|
907
995
|
banner_mask_alpha: 0.3
|
|
908
|
-
subtitle:
|
|
909
996
|
# 友链的成员项
|
|
910
997
|
# Member item of page
|
|
911
998
|
items:
|
|
@@ -944,13 +1031,13 @@ links:
|
|
|
944
1031
|
enable: false
|
|
945
1032
|
# 指定的插件,需要同时设置对应插件的必要参数
|
|
946
1033
|
# The specified plugin needs to set the necessary parameters at the same time
|
|
947
|
-
# Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis
|
|
1034
|
+
# Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus
|
|
948
1035
|
type: disqus
|
|
949
1036
|
|
|
950
1037
|
|
|
951
1038
|
#---------------------------
|
|
952
1039
|
# 以下是配置 JS CSS 等静态资源的 URL 前缀,可以自定义成 CDN 地址,
|
|
953
|
-
#
|
|
1040
|
+
# 如果需要修改,最好使用与默认配置相同的版本,以避免潜在的问题,
|
|
954
1041
|
# ** 如果你不知道如何设置,请不要做任何改动 **
|
|
955
1042
|
#
|
|
956
1043
|
# Here is the url prefix to configure the static assets. Set CDN addresses you want to customize.
|
|
@@ -965,44 +1052,42 @@ static_prefix:
|
|
|
965
1052
|
internal_css: /css
|
|
966
1053
|
internal_img: /img
|
|
967
1054
|
|
|
968
|
-
anchor: https://
|
|
969
|
-
|
|
970
|
-
github_markdown: https://cdn.jsdelivr.net/npm/github-markdown-css@4/
|
|
1055
|
+
anchor: https://lib.baomitu.com/anchor-js/4.3.1/
|
|
971
1056
|
|
|
972
|
-
|
|
1057
|
+
github_markdown: https://lib.baomitu.com/github-markdown-css/4.0.0/
|
|
973
1058
|
|
|
974
|
-
|
|
1059
|
+
jquery: https://lib.baomitu.com/jquery/3.6.0/
|
|
975
1060
|
|
|
976
|
-
|
|
1061
|
+
bootstrap: https://lib.baomitu.com/twitter-bootstrap/4.6.1/
|
|
977
1062
|
|
|
978
|
-
prismjs: https://
|
|
1063
|
+
prismjs: https://lib.baomitu.com/prism/1.27.0/
|
|
979
1064
|
|
|
980
|
-
tocbot: https://
|
|
1065
|
+
tocbot: https://lib.baomitu.com/tocbot/4.18.2/
|
|
981
1066
|
|
|
982
|
-
typed: https://
|
|
1067
|
+
typed: https://lib.baomitu.com/typed.js/2.0.12/
|
|
983
1068
|
|
|
984
|
-
fancybox: https://
|
|
1069
|
+
fancybox: https://lib.baomitu.com/fancybox/3.5.7/
|
|
985
1070
|
|
|
986
|
-
nprogress: https://
|
|
1071
|
+
nprogress: https://lib.baomitu.com/nprogress/0.2.0/
|
|
987
1072
|
|
|
988
|
-
mathjax: https://
|
|
1073
|
+
mathjax: https://lib.baomitu.com/mathjax/3.2.1/
|
|
989
1074
|
|
|
990
|
-
katex: https://
|
|
1075
|
+
katex: https://lib.baomitu.com/KaTeX/0.15.6/
|
|
991
1076
|
|
|
992
1077
|
busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/
|
|
993
1078
|
|
|
994
|
-
clipboard: https://
|
|
1079
|
+
clipboard: https://lib.baomitu.com/clipboard.js/2.0.10/
|
|
995
1080
|
|
|
996
|
-
mermaid: https://
|
|
1081
|
+
mermaid: https://lib.baomitu.com/mermaid/8.14.0/
|
|
997
1082
|
|
|
998
|
-
valine: https://
|
|
1083
|
+
valine: https://lib.baomitu.com/valine/1.4.18/
|
|
999
1084
|
|
|
1000
|
-
waline: https://
|
|
1085
|
+
waline: https://lib.baomitu.com/waline/2.5.1/
|
|
1001
1086
|
|
|
1002
|
-
gitalk: https://
|
|
1087
|
+
gitalk: https://lib.baomitu.com/gitalk/1.7.2/
|
|
1003
1088
|
|
|
1004
|
-
disqusjs: https://
|
|
1089
|
+
disqusjs: https://lib.baomitu.com/disqusjs/1.3.0/
|
|
1005
1090
|
|
|
1006
|
-
twikoo: https://
|
|
1091
|
+
twikoo: https://lib.baomitu.com/twikoo/1.5.11/
|
|
1007
1092
|
|
|
1008
|
-
hint: https://
|
|
1093
|
+
hint: https://lib.baomitu.com/hint.css/2.7.0/
|
package/languages/de.yml
CHANGED
|
@@ -1,44 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
title: Suchen
|
|
3
|
-
keyword: Stichwort
|
|
4
|
-
status:
|
|
5
|
-
success: v
|
|
6
|
-
error: x
|
|
7
|
-
|
|
8
|
-
postTotal: Insgesamt %d Artikel.
|
|
9
|
-
|
|
10
|
-
paginator:
|
|
11
|
-
pre: Vorheriger
|
|
12
|
-
next: Nächster
|
|
13
|
-
|
|
14
|
-
post:
|
|
15
|
-
toc: TOC
|
|
16
|
-
pre: Vorheriger
|
|
17
|
-
next: Nächster
|
|
1
|
+
name: 'Deutsch'
|
|
18
2
|
|
|
19
3
|
home:
|
|
20
|
-
|
|
4
|
+
menu: 'Startseite'
|
|
5
|
+
title: 'Startseite'
|
|
21
6
|
|
|
22
7
|
archive:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
title: Etiketten
|
|
28
|
-
subtitle: Etiketten
|
|
8
|
+
menu: 'Archiv'
|
|
9
|
+
title: 'Archiv'
|
|
10
|
+
subtitle: 'Archiv'
|
|
11
|
+
post_total: 'Insgesamt %d Artikel'
|
|
29
12
|
|
|
30
13
|
category:
|
|
31
|
-
|
|
32
|
-
|
|
14
|
+
menu: 'Kategorien'
|
|
15
|
+
title: 'Kategorien'
|
|
16
|
+
subtitle: 'Kategorien'
|
|
17
|
+
post_total: 'Insgesamt %d Artikel'
|
|
18
|
+
more: 'More...'
|
|
19
|
+
|
|
20
|
+
tag:
|
|
21
|
+
menu: 'Schlagwörter'
|
|
22
|
+
title: 'Schlagwörter'
|
|
23
|
+
subtitle: 'Schlagwörter'
|
|
24
|
+
post_total: 'Insgesamt %d Artikel'
|
|
33
25
|
|
|
34
26
|
about:
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
menu: 'Über'
|
|
28
|
+
title: 'Über'
|
|
29
|
+
subtitle: 'Über'
|
|
30
|
+
|
|
31
|
+
links:
|
|
32
|
+
menu: 'Weblinks'
|
|
33
|
+
title: 'Weblinks'
|
|
34
|
+
subtitle: 'Weblinks'
|
|
37
35
|
|
|
38
36
|
page404:
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
menu: 'Die Seite wurde nicht gefunden'
|
|
38
|
+
title: 'Die Seite wurde nicht gefunden'
|
|
39
|
+
subtitle: 'Die Seite wurde nicht gefunden'
|
|
41
40
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
post:
|
|
42
|
+
toc: 'Inhaltsverzeichnis'
|
|
43
|
+
prev_post: 'Vorheriger'
|
|
44
|
+
next_post: 'Nächster'
|
|
45
|
+
updated: 'Geändert am %s'
|
|
46
|
+
meta:
|
|
47
|
+
wordcount: '%s wörter'
|
|
48
|
+
min2read: '%s minuten'
|
|
49
|
+
views: '{} ansichten'
|
|
50
|
+
copyright:
|
|
51
|
+
author: 'Beitragsautor'
|
|
52
|
+
posted: 'Veröffentlicht am'
|
|
53
|
+
updated: 'Geändert am'
|
|
54
|
+
licensed: 'Urheberrechtshinweis'
|
|
55
|
+
CC: 'CC - Creative Commons license'
|
|
56
|
+
BY: 'BY - Attribution'
|
|
57
|
+
SA: 'SA - Share-alike'
|
|
58
|
+
NC: 'NC - Non-commercial'
|
|
59
|
+
ND: 'ND - No derivative works'
|
|
60
|
+
|
|
61
|
+
footer:
|
|
62
|
+
pv: 'Alle Aufrufe: {}'
|
|
63
|
+
uv: 'Alle Besucher: {}'
|
|
64
|
+
|
|
65
|
+
search:
|
|
66
|
+
title: 'Suchen'
|
|
67
|
+
keyword: 'Stichwort'
|
|
68
|
+
|
|
69
|
+
noscript_warning: 'Blog funktioniert am besten mit aktiviertem JavaScript'
|