hexo-theme-shokax 0.0.1-alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE-shoka +21 -0
  3. package/README.md +47 -0
  4. package/_config.yml +353 -0
  5. package/_images.yml +99 -0
  6. package/languages/README.md +19 -0
  7. package/languages/default.yml +1 -0
  8. package/languages/en.yml +151 -0
  9. package/languages/ja.yml +146 -0
  10. package/languages/zh-CN.yml +154 -0
  11. package/languages/zh-HK.yml +146 -0
  12. package/languages/zh-TW.yml +146 -0
  13. package/layout/_alternate/atom.ejs +30 -0
  14. package/layout/_alternate/json.ejs +16 -0
  15. package/layout/_alternate/rss.ejs +34 -0
  16. package/layout/_mixin/breadcrumb.pug +33 -0
  17. package/layout/_mixin/card.pug +37 -0
  18. package/layout/_mixin/comment.pug +10 -0
  19. package/layout/_mixin/postmeta.pug +30 -0
  20. package/layout/_mixin/segment.pug +32 -0
  21. package/layout/_mixin/sidebar.pug +36 -0
  22. package/layout/_mixin/widgets.pug +29 -0
  23. package/layout/_partials/footer.pug +61 -0
  24. package/layout/_partials/head/head.pug +54 -0
  25. package/layout/_partials/head/head_com.pug +17 -0
  26. package/layout/_partials/head/pwa.pug +17 -0
  27. package/layout/_partials/header.pug +19 -0
  28. package/layout/_partials/layout.pug +143 -0
  29. package/layout/_partials/loading.pug +13 -0
  30. package/layout/_partials/pagination.pug +4 -0
  31. package/layout/_partials/post/copyright.pug +20 -0
  32. package/layout/_partials/post/footer.pug +13 -0
  33. package/layout/_partials/post/nav.pug +13 -0
  34. package/layout/_partials/post/post.pug +26 -0
  35. package/layout/_partials/post/reward.pug +18 -0
  36. package/layout/_partials/sidebar/menu.pug +37 -0
  37. package/layout/_partials/sidebar/overview.pug +40 -0
  38. package/layout/_partials/third-party/baidu-analytics.pug +11 -0
  39. package/layout/_partials/third-party/clarity.pug +8 -0
  40. package/layout/_partials/third-party/qweather.pug +35 -0
  41. package/layout/archive.pug +31 -0
  42. package/layout/category.pug +66 -0
  43. package/layout/index.pug +33 -0
  44. package/layout/page.pug +56 -0
  45. package/layout/post.pug +35 -0
  46. package/layout/tag.pug +43 -0
  47. package/package.json +35 -0
  48. package/scripts/filters/locals.js +57 -0
  49. package/scripts/filters/post.js +23 -0
  50. package/scripts/generaters/archive.js +141 -0
  51. package/scripts/generaters/config.js +43 -0
  52. package/scripts/generaters/images.js +26 -0
  53. package/scripts/generaters/index.js +110 -0
  54. package/scripts/generaters/pages.js +19 -0
  55. package/scripts/generaters/script.js +81 -0
  56. package/scripts/helpers/asset.js +237 -0
  57. package/scripts/helpers/engine.js +183 -0
  58. package/scripts/helpers/list_categories.js +140 -0
  59. package/scripts/helpers/symbols_count_time.js +76 -0
  60. package/scripts/tags/links.js +86 -0
  61. package/scripts/tags/media.js +19 -0
  62. package/source/assets/404.png +0 -0
  63. package/source/assets/algolia_logo.svg +9 -0
  64. package/source/assets/apple-touch-icon.png +0 -0
  65. package/source/assets/beian.webp +0 -0
  66. package/source/assets/failure.ico +0 -0
  67. package/source/assets/favicon.ico +0 -0
  68. package/source/assets/logo.svg +16 -0
  69. package/source/assets/play_disc.png +0 -0
  70. package/source/assets/play_needle.png +0 -0
  71. package/source/assets/search.png +0 -0
  72. package/source/css/_colors.styl +207 -0
  73. package/source/css/_common/components/components.styl +6 -0
  74. package/source/css/_common/components/highlight/highlight.styl +353 -0
  75. package/source/css/_common/components/highlight/operation.styl +21 -0
  76. package/source/css/_common/components/pages/collapse.styl +119 -0
  77. package/source/css/_common/components/pages/home.styl +385 -0
  78. package/source/css/_common/components/pages/pages.styl +56 -0
  79. package/source/css/_common/components/pages/tag-cloud.styl +12 -0
  80. package/source/css/_common/components/post/breadcrumb.styl +39 -0
  81. package/source/css/_common/components/post/copyright.styl +41 -0
  82. package/source/css/_common/components/post/expand.styl +264 -0
  83. package/source/css/_common/components/post/footer.styl +11 -0
  84. package/source/css/_common/components/post/header.styl +79 -0
  85. package/source/css/_common/components/post/nav.styl +63 -0
  86. package/source/css/_common/components/post/post.styl +29 -0
  87. package/source/css/_common/components/post/reward.styl +50 -0
  88. package/source/css/_common/components/post/rtl.styl +12 -0
  89. package/source/css/_common/components/post/tags.styl +39 -0
  90. package/source/css/_common/components/tags/collapse.styl +72 -0
  91. package/source/css/_common/components/tags/container.styl +49 -0
  92. package/source/css/_common/components/tags/label.styl +12 -0
  93. package/source/css/_common/components/tags/links.styl +77 -0
  94. package/source/css/_common/components/tags/list.styl +131 -0
  95. package/source/css/_common/components/tags/note.styl +70 -0
  96. package/source/css/_common/components/tags/player.styl +361 -0
  97. package/source/css/_common/components/tags/quiz.styl +200 -0
  98. package/source/css/_common/components/tags/tabs.styl +83 -0
  99. package/source/css/_common/components/tags/tags.styl +9 -0
  100. package/source/css/_common/components/third-party/loading.styl +222 -0
  101. package/source/css/_common/components/third-party/mermaid/class.styl +90 -0
  102. package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -0
  103. package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -0
  104. package/source/css/_common/components/third-party/mermaid/git.styl +7 -0
  105. package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -0
  106. package/source/css/_common/components/third-party/mermaid/pie.styl +9 -0
  107. package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -0
  108. package/source/css/_common/components/third-party/mermaid/state.styl +130 -0
  109. package/source/css/_common/components/third-party/pace.styl +18 -0
  110. package/source/css/_common/components/third-party/search.styl +167 -0
  111. package/source/css/_common/components/third-party/theme.styl +151 -0
  112. package/source/css/_common/components/third-party/third-party.styl +22 -0
  113. package/source/css/_common/components/third-party/valine.styl +548 -0
  114. package/source/css/_common/components/third-party/widgets.styl +57 -0
  115. package/source/css/_common/outline/footer/footer.styl +69 -0
  116. package/source/css/_common/outline/header/brand.styl +77 -0
  117. package/source/css/_common/outline/header/header.styl +20 -0
  118. package/source/css/_common/outline/header/image.styl +79 -0
  119. package/source/css/_common/outline/header/menu.styl +117 -0
  120. package/source/css/_common/outline/header/nav.styl +81 -0
  121. package/source/css/_common/outline/header/right.styl +15 -0
  122. package/source/css/_common/outline/header/tool.styl +207 -0
  123. package/source/css/_common/outline/header/waves.styl +50 -0
  124. package/source/css/_common/outline/mobile.styl +46 -0
  125. package/source/css/_common/outline/outline.styl +78 -0
  126. package/source/css/_common/outline/sidebar/author.styl +59 -0
  127. package/source/css/_common/outline/sidebar/dimmer.styl +23 -0
  128. package/source/css/_common/outline/sidebar/menu.styl +63 -0
  129. package/source/css/_common/outline/sidebar/quick.styl +43 -0
  130. package/source/css/_common/outline/sidebar/related.styl +56 -0
  131. package/source/css/_common/outline/sidebar/sidebar.styl +75 -0
  132. package/source/css/_common/outline/sidebar/social.styl +69 -0
  133. package/source/css/_common/outline/sidebar/state.styl +37 -0
  134. package/source/css/_common/outline/sidebar/tab.styl +71 -0
  135. package/source/css/_common/outline/sidebar/toc.styl +47 -0
  136. package/source/css/_common/scaffolding/animate.styl +318 -0
  137. package/source/css/_common/scaffolding/base.styl +172 -0
  138. package/source/css/_common/scaffolding/buttons.styl +48 -0
  139. package/source/css/_common/scaffolding/divider.styl +36 -0
  140. package/source/css/_common/scaffolding/iconfont.styl +443 -0
  141. package/source/css/_common/scaffolding/normalize.styl +289 -0
  142. package/source/css/_common/scaffolding/pagination.styl +81 -0
  143. package/source/css/_common/scaffolding/ribbon.styl +38 -0
  144. package/source/css/_common/scaffolding/scaffolding.styl +14 -0
  145. package/source/css/_common/scaffolding/scrollbar.styl +37 -0
  146. package/source/css/_common/scaffolding/tables.styl +50 -0
  147. package/source/css/_common/scaffolding/tip.styl +19 -0
  148. package/source/css/_common/scaffolding/toggles.styl +59 -0
  149. package/source/css/_iconfont.styl +451 -0
  150. package/source/css/_mixins.styl +146 -0
  151. package/source/css/_variables.styl +89 -0
  152. package/source/css/app.styl +27 -0
  153. package/source/css/comment.styl +5 -0
  154. package/source/css/mermaid.styl +5 -0
  155. package/source/css/plugin.styl +174 -0
  156. package/source/css/twikoo.css +2002 -0
  157. package/source/js/_app/components.js +330 -0
  158. package/source/js/_app/global.js +317 -0
  159. package/source/js/_app/library.js +302 -0
  160. package/source/js/_app/page.js +623 -0
  161. package/source/js/_app/player.js +748 -0
  162. package/source/js/_app/vue.js +43 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 zkz098
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/LICENSE-shoka ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 霜月琉璃
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # hexo-theme-shokaX
2
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX?ref=badge_shield)
3
+ ![LICENSE]( https://img.shields.io/github/license/zkz098/hexo-theme-shokaX)
4
+ ![stars](https://img.shields.io/github/stars/zkz098/hexo-theme-shokaX)
5
+
6
+
7
+ 此项目是shoka的一个魔改版,致力于提高性能和优化魔改体验 \
8
+ 本项目处于高强度开发期,但github仓库版本已基本可用 \s
9
+ 二次开发与常见问题请看wiki
10
+
11
+ ## 待办名单
12
+ - [x] 推出一个可用的测试版
13
+ - [x] 支持twikoo和waline评论系统
14
+ - [x] 优化部分html标签
15
+ - [x] 原生PWA支持
16
+ - [x] 注入js和css支持
17
+ - [x] 自定义font
18
+ - [x] 部分功能调整为可关闭
19
+ - [ ] 重构lib方法(长期计划)
20
+ - [ ] 异步化js
21
+
22
+ ## 已于从shoka迁移吗?
23
+ 很容易,只需要调整shoka的部分配置,并重新安装渲染器就行
24
+
25
+ ## 以前的魔改呢?
26
+ 这个比较难解决,因为shokaX对编写语言进行了更改:
27
+ - javascript -> typescript
28
+ - njk -> pug
29
+ 因此需要更改编写的语言
30
+
31
+ # 许可证
32
+ 许可证: MIT \
33
+ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX?ref=badge_large)
34
+
35
+ # 致谢名单
36
+ ## 开源项目
37
+ | 名称 | 作者 | 描述 |
38
+ |:-----------------|:------------------|:-------------------|
39
+ | Hexo | Hexo contributors | 为本项目提供了良好的基础 |
40
+ | hexo-theme-shoka | amehime | 本项目的父主题 |
41
+
42
+ ## 贡献者
43
+ | 名称 | 站点 | 描述 |
44
+ |:-----------|:---------------------------|:-----------------------|
45
+ | Lavender | https://www.lavenderdh.cn/ | 提供了大量shoka主题的魔改 |
46
+ | AdminZhang | https://www.a9-9.top/ | 为本项目提供了大量想法并进行了DEBUG工作 |
47
+
package/_config.yml ADDED
@@ -0,0 +1,353 @@
1
+ alternate: testName # 站点大标题
2
+
3
+ statics: "/" # 静态文件根目录
4
+ assets: "assets"
5
+ css: "css"
6
+ js: "js"
7
+
8
+ open_graph:
9
+ #twitter_id:
10
+ #google_plus:
11
+ #fb_admins:
12
+ #fb_app_id:
13
+
14
+
15
+ grayMode: false # 全站黑白滤镜
16
+ # 请注意: 本主题的PWA功能只是一个装载器,需要自备js和manifest
17
+ # 图片可通过https://lp-pwa.gitee.io/pwa-genicon/生成
18
+ pwa:
19
+ enable: true # 开启PWA功能
20
+ serviceworker: sw.js #serviceworker脚本位置,使用以/为基准的绝对路径
21
+ manifest: manifest.json #manifest位置,使用以/为基准的绝对路径
22
+
23
+ # 实验性特性
24
+ experiments:
25
+ noPlayer: false # 禁用音乐播放器
26
+ gradient: false # 使用CSS渐变作为文章封面
27
+
28
+ icon:
29
+ favicon: "/favicon.ico"
30
+ apple_touch_icon: "/apple-touch-icon.png"
31
+
32
+ baidu_analytics: ""
33
+ seo:
34
+ bing: "bing-key"
35
+ google: "google-key"
36
+ yandex: "yandex-key"
37
+ baidu: "baidu-key"
38
+
39
+ visitor:
40
+ clarity: false
41
+
42
+ darkmode: false
43
+ auto_dark: # 自动亮/暗模式
44
+ enable: true #是否开启
45
+ start: 20 #开始时间
46
+ end: 7 #结束时间
47
+
48
+ auto_scroll: true
49
+
50
+ loader:
51
+ start: true # 进入页面时显示加载动画
52
+ switch: false # 切换页面时显示加载动画
53
+
54
+ # 显示的动画(烟花)
55
+ fireworks:
56
+ enable: true
57
+ color:
58
+ - "rgba(255,182,185,.9)"
59
+ - "rgba(250,227,217,.9)"
60
+ - "rgba(187,222,214,.9)"
61
+ - "rgba(138,198,209,.9)"
62
+
63
+ font:
64
+ enable: true
65
+ # 字体选项:
66
+ # `external`:从google字体库加载字体.
67
+ # `family: 字体家族名,无需引号
68
+ # `size: x.x`. 以`em`为单位. 默认: 1 (16px)
69
+
70
+ # 适用于所有在body标签内的文字.
71
+ global:
72
+ external: false
73
+ family: HarmonyOS_Regular
74
+ size:
75
+
76
+ # 大标题字体.
77
+ logo:
78
+ external: false
79
+ family: HarmonyOS_Regular
80
+ size: 3.5
81
+
82
+ # 页面标题字体.
83
+ title:
84
+ external: false
85
+ family: HarmonyOS_Regular
86
+ size: 2.5
87
+
88
+ # 标题字体.
89
+ headings:
90
+ external: false
91
+ family: HarmonyOS_Regular
92
+ size:
93
+
94
+ # 文章字体.
95
+ posts:
96
+ external: false
97
+ family:
98
+
99
+ # 代码块的字体
100
+ codes:
101
+ external: false
102
+ family: jetbrains-mono # Inconsolata
103
+
104
+ # 自定义区域
105
+ custom:
106
+ enable: false
107
+ font:
108
+ # - FamilyName: # 字体名(冒号后留空)
109
+ # FamilyName: # 家族名
110
+ # src: # 链接,遵循@font-face的url格式
111
+
112
+ # project of https://www.iconfont.cn/
113
+ # //at.alicdn.com/t/font_1832207_c8i9n1ulxlt.css => 1832207_c8i9n1ulxlt
114
+ iconfont: "1832207_igi8uaupcus"
115
+
116
+ menu:
117
+ home: / || home
118
+ about:
119
+ default: /about/ || user
120
+ aboutsite: /about/ || star
121
+ updata: /updata/ || cloud
122
+ admiration: /admiration/ || coffee
123
+ privacy: /privacy/ || list-alt
124
+ posts:
125
+ default: / || feather
126
+ archives: /archives/ || list-alt
127
+ categories: /categories/ || th
128
+ tags: /tags/ || tags
129
+ statistics: /statistics/ || clock
130
+ friends: /friends/ || heart
131
+
132
+ twikoo:
133
+ enable: true
134
+ link: "https://cdn.staticfile.org/twikoo/1.6.6/twikoo.nocss.min.js"
135
+ integ: "sha384-JqH6BJQNmQcewnQi3qB4KpHn9zYI4qjaBZe7E7cEW1aNjmvofaN/2+/qEmX8Nzou"
136
+ mode: vercel # vercel或tencent
137
+ envId: "https://114514.foo.bar" # twikoo环境ID,vercel填地址
138
+ region: "none"
139
+
140
+ waline:
141
+ enable: false
142
+ serverURL: ''
143
+
144
+ # Social Links
145
+ # Usage: `Key: permalink || icon || color`
146
+ # Key is the link label showing to end users.
147
+ # Value before `||` delimiter is the target permalink,
148
+ # secend value is the name of Font icon.
149
+ social:
150
+ github: https://github.com/name || github || "#191717"
151
+ #google: https://plus.google.com/yourname || google
152
+ #twitter: https://twitter.com/yourname || twitter || "#00aff0"
153
+ #zhihu: https://www.zhihu.com/people/yourname || zhihu || "#1e88e5"
154
+ #music: https://music.163.com/#/user/home?id=yourid || cloud-music || "#e60026"
155
+ #weibo: https://weibo.com/yourname || weibo || "#ea716e"
156
+ #about: https://about.me/yourname || address-card || "#3b5998"
157
+ # email: mailto:foo@xxx.com || envelope || "#55acd5"
158
+ #facebook: https://www.facebook.com/yourname || facebook
159
+ # stackoverflow: https://stackoverflow.com/ || stack-overflow
160
+ #youtube: https://youtube.com/yourname || youtube
161
+ #instagram: https://instagram.com/yourname || instagram
162
+ #skype: skype:yourname?call|chat || skype
163
+ #douban: https://www.douban.com/people/yourname/ || douban
164
+
165
+ sidebar:
166
+ # Sidebar Position.
167
+ position: left
168
+ # position: right
169
+ # Replace the default avatar image and set the url here.
170
+ avatar: avatar.jpg
171
+
172
+ widgets:
173
+ # if true, will show random posts
174
+ random_posts: true
175
+ # if true, will show recent comments
176
+ recent_comments: true
177
+
178
+ footer:
179
+ # Specify the date when the site was setup. If not defined, current year will be used.
180
+ since: 2021
181
+ icon:
182
+ name: sakura rotate
183
+ # Change the color of icon, using Hex Code.
184
+ color: "#ffc0cb"
185
+ # Dependencies: https://github.com/theme-next/hexo-symbols-count-time
186
+ count: true
187
+ powered: true
188
+ lantern:
189
+ enable: true #是否开启
190
+ word1: 中 #第一个字
191
+ word2: 秋 #第二个字
192
+ icp:
193
+ enable: false
194
+ icon: "beian.webp"
195
+ icpnumber: "xxx"
196
+ beian: "xxx"
197
+ recordcode: "xxx"
198
+
199
+ post:
200
+ # Dependencies: https://github.com/theme-next/hexo-symbols-count-time
201
+ count: true
202
+
203
+ # 文章是否失效
204
+ outime:
205
+ enable: true
206
+ days: 30 # 超过 30 天文章失效
207
+
208
+ reward:
209
+ # If true, reward will be displayed in every article by default.
210
+ enable: true
211
+ account:
212
+ wechatpay: /wechatpay.png
213
+ alipay: /alipay.png
214
+ # paypal: /paypal.png
215
+
216
+ # TagCloud settings for tags page.
217
+ tagcloud:
218
+ # All values below are same as default, change them by yourself.
219
+ min: 16 # Minimun font size in px
220
+ max: 22 # Maxium font size in px
221
+ start: "#72cecf" # Start color (hex, rgba, hsla or color keywords)
222
+ end: "#ffbac3" # End color (hex, rgba, hsla or color keywords)
223
+ amount: 200 # Amount of tags, change it if you have more than 200 tags
224
+
225
+ # ---------------------------------------------------------------
226
+ # Third Party Plugins & Services Settings
227
+ # ---------------------------------------------------------------
228
+
229
+ # Creative Commons 4.0 International License.
230
+ # See: https://creativecommons.org/share-your-work/licensing-types-examples
231
+ # Available values of license: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
232
+ # You can set a language value if you prefer a translated version of CC license, e.g. deed.zh
233
+ # CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
234
+ creative_commons:
235
+ license: by-nc-sa
236
+ language: deed.zh
237
+
238
+ # bgm
239
+ audio:
240
+ - title: 列表1
241
+ list:
242
+ - https://music.163.com/#/playlist?id=2943811283
243
+ - https://music.163.com/#/playlist?id=2297706586
244
+ - title: 列表2
245
+ list:
246
+ - https://music.163.com/#/playlist?id=2031842656
247
+
248
+ # random image api
249
+ image_server: # "https://acg.xydwz.cn/api/api.php"
250
+
251
+ # Algolia Search
252
+ # For more information: https://www.algolia.com
253
+ search:
254
+ hits:
255
+ per_page: 10
256
+
257
+ # Dependencies: https://github.com/amehime/hexo-renderer-multi-markdown-it
258
+ pangu: false
259
+
260
+ # Quicklink Support
261
+ # For more information: https://github.com/GoogleChromeLabs/quicklink
262
+ quicklink:
263
+ # Custom a time in milliseconds by which the browser must execute prefetching.
264
+ timeout: 3000
265
+ # Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
266
+ priority: true
267
+
268
+ # For more flexibility you can add some patterns (RegExp, Function, or Array) to ignores.
269
+ # See: https://github.com/GoogleChromeLabs/quicklink#custom-ignore-patterns
270
+ ignores:
271
+
272
+ #! ---------------------------------------------------------------
273
+ #! DO NOT EDIT THE FOLLOWING `vendors` SETTINGS
274
+ #! UNLESS YOU KNOW WHAT YOU ARE DOING
275
+ #! Script dependencies will be combined with jsDelivr (cdn.jsdelivr.net)
276
+ #! ---------------------------------------------------------------
277
+ advVendors:
278
+ enable: true
279
+ github: "https://cdn.jsdelivr.net/gh/"
280
+ combine: "https://cdn.jsdelivr.net/"
281
+ npm: "https://unpkg.com/"
282
+ js:
283
+ pace:
284
+ src: bytedance:pace/1.0.2/pace.min.js
285
+ pjax:
286
+ src: baomitu:pjax/0.2.8/pjax.min.js
287
+ fetch:
288
+ src: npm:whatwg-fetch@3.4.0/dist/fetch.umd.js
289
+ anime:
290
+ src: bytedance:animejs/3.2.0/anime.min.js
291
+ algolia:
292
+ src: bytedance:algoliasearch/4.12.1/algoliasearch-lite.umd.min.js
293
+ instantsearch:
294
+ src: bytedance:instantsearch.js/4.39.0/instantsearch.production.min.js
295
+ lazyload:
296
+ src: bytedance:lozad.js/1.16.0/lozad.min.js
297
+ quicklink:
298
+ src: bytedance:quicklink/2.2.0/quicklink.umd.min.js
299
+ fancybox:
300
+ src: bytedance:??jquery/3.5.1/jquery.min.js,fancybox/3.5.7/jquery.fancybox.min.js,justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js
301
+ async: true
302
+ copy_tex:
303
+ src: bytedance:KaTeX/0.12.0/contrib/copy-tex.min.js
304
+ async: true
305
+ chart:
306
+ src: npm:frappe-charts@1.5.0/dist/frappe-charts.min.iife.js
307
+ css:
308
+ katex:
309
+ src: npm:katex@0.12.0/dist/katex.min.css
310
+ comment:
311
+ src: css/comment.css
312
+ fancybox:
313
+ src: combine/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css,npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css
314
+ vendorsList:
315
+ js:
316
+ - pace
317
+ - pjax
318
+ - fetch
319
+ - anime
320
+ - algolia
321
+ - instantsearch
322
+ - lazyload
323
+ - quicklink
324
+ - fancybox
325
+ - copy_tex
326
+ - chart
327
+
328
+ vendors:
329
+ css:
330
+ # katex: npm/katex@0.12.0/dist/katex.min.css
331
+ katex: npm/katex@0.12.0/dist/katex.min.css # ok
332
+ comment: css/comment.css
333
+ fancybox: combine/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css,npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css # notok
334
+ # fancybox: npm/fancybox/justifiedGallery.min.css
335
+
336
+ js:
337
+ pace: npm/pace-js@1.0.2/pace.min.js # ok
338
+ pjax: npm/pjax@0.2.8/pjax.min.js # ok
339
+ fetch: npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js # ok
340
+ anime: npm/animejs@3.2.0/lib/anime.min.js # ok
341
+ algolia: npm/algoliasearch@4/dist/algoliasearch-lite.umd.js # ok
342
+ instantsearch: npm/instantsearch.js@4/dist/instantsearch.production.min.js # ok
343
+ lazyload: npm/lozad@1/dist/lozad.min.js # ok
344
+ quicklink: npm/quicklink@2/dist/quicklink.umd.js # ok
345
+ fancybox: combine/npm/jquery@3.5.1/dist/jquery.min.js,npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js,npm/justifiedGallery@3.8.1/dist/js/jquery.justifiedGallery.min.js # notok
346
+ # fancybox: npm/fancybox/jquery.justifiedGallery.min.js
347
+ valine: gh/amehime/MiniValine@4.2.2-beta10/dist/MiniValine.min.js
348
+ copy_tex: npm/katex@0.12.0/dist/contrib/copy-tex.min.js # ok
349
+ chart: npm/frappe-charts@1.5.0/dist/frappe-charts.min.iife.min.js # ok
350
+
351
+ qweather:
352
+ enable: false
353
+ key: "114514"
package/_images.yml ADDED
@@ -0,0 +1,99 @@
1
+ - 6833939bly1giciryrr3rj20zk0m8nhk.jpg
2
+ - 6833939bly1gicis081o9j20zk0m8dmr.jpg
3
+ - 6833939bly1gicis3attqj20zk0m8k7l.jpg
4
+ - 6833939bly1giciszlczyj20zk0m816d.jpg
5
+ - 6833939bly1gicit31ffoj20zk0m8naf.jpg
6
+ - 6833939bly1gicit4jrvuj20zk0m8785.jpg
7
+ - 6833939bly1gicitcxhpij20zk0m8hdt.jpg
8
+ - 6833939bly1gicitf0kl1j20zk0m87fe.jpg
9
+ - 6833939bly1gicitht3xtj20zk0m8k5v.jpg
10
+ - 6833939bly1gicitspjpbj20zk0m81ky.jpg
11
+ - 6833939bly1gicitzannuj20zk0m8b29.jpg
12
+ - 6833939bly1giciub8ja1j20zk0m81ky.jpg
13
+ - 6833939bly1giciuja1j1j20zk0m8kjl.jpg
14
+ - 6833939bly1giciukx8a7j20zk0m8aio.jpg
15
+ - 6833939bly1giciundwu5j20zk0m8n9e.jpg
16
+ - 6833939bly1giciusoyjnj219g0u0x56.jpg
17
+ - 6833939bly1giciuv0socj20zk0m8qes.jpg
18
+ - 6833939bly1gicivghyooj20zk0m8dir.jpg
19
+ - 6833939bly1giclfb3vzhj20zk0m8wny.jpg
20
+ - 6833939bly1giclfdu6exj20zk0m87hw.jpg
21
+ - 6833939bly1giclffsa1cj20zk0m811l.jpg
22
+ - 6833939bly1giclflwv2aj20zk0m84qp.jpg
23
+ - 6833939bly1giclfw2t96j20zk0m8x6p.jpg
24
+ - 6833939bly1giclg5ms2rj20zk0m8u0x.jpg
25
+ - 6833939bly1giclga70tsj20zk0m84mr.jpg
26
+ - 6833939bly1giclgi503lj20zk0m8hdt.jpg
27
+ - 6833939bly1giclgrvbd6j20zk0m8qv5.jpg
28
+ - 6833939bly1giclh0m9pdj20zk0m8hdt.jpg
29
+ - 6833939bly1giclh3brzpj20zk0m8ann.jpg
30
+ - 6833939bly1giclh5u05ej20zk0m87df.jpg
31
+ - 6833939bly1giclhfehz7j20zk0m8u0x.jpg
32
+ - 6833939bly1giclhnx9glj20zk0m8npd.jpg
33
+ - 6833939bly1giclhpw3lwj20zk0m8gvw.jpg
34
+ - 6833939bly1giclhtuo6nj20zk0m8ttm.jpg
35
+ - 6833939bly1gicli3sbvtj20zk0m8x6p.jpg
36
+ - 6833939bly1gicli9lfebj20zk0m84qp.jpg
37
+ - 6833939bly1gicliierfjj20zk0m8npd.jpg
38
+ - 6833939bly1giclil3m4ej20zk0m8tn8.jpg
39
+ - 6833939bly1giclimtf7dj20zk0m8qav.jpg
40
+ - 6833939bly1giclip4jbpj20zk0m87cv.jpg
41
+ - 6833939bly1gicliwyw55j20zk0m8hdt.jpg
42
+ - 6833939bly1giclize41wj20zk0m87gk.jpg
43
+ - 6833939bly1giclj61ylzj20zk0m8b29.jpg
44
+ - 6833939bly1giclj9410cj20zk0m8h12.jpg
45
+ - 6833939bly1gicljgocqbj20zk0m8e81.jpg
46
+ - 6833939bly1gicljitigmj20zk0m87fp.jpg
47
+ - 6833939bly1giclwrdwyaj20zk0m8are.jpg
48
+ - 6833939bly1giclwuom7cj20zk0m8dvn.jpg
49
+ - 6833939bly1giclx29mstj20zk0m8hdt.jpg
50
+ - 6833939bly1giclx6phq6j20zk0m8e36.jpg
51
+ - 6833939bly1giclxfdlttj20zk0m8npd.jpg
52
+ - 6833939bly1giclxp31goj20zk0m8qv5.jpg
53
+ - 6833939bly1giclxxcb6rj20zk0m8b29.jpg
54
+ - 6833939bly1gicm07ih54j20zk0m84qp.jpg
55
+ - 6833939bly1gicm0fdw5cj20zk0m8hdt.jpg
56
+ - 6833939bly1gicm0n457cj20zk0m8e81.jpg
57
+ - 6833939bly1gicmnywqgpj20zk0m8dwx.jpg
58
+ - 6833939bly1gipesng5oej20zk0m87d4.jpg
59
+ - 6833939bly1gipesrnqv3j20zk0m8ava.jpg
60
+ - 6833939bly1gipesx5fdwj20zk0m81kx.jpg
61
+ - 6833939bly1gipet4bz0yj20zk0m8e81.jpg
62
+ - 6833939bly1gipet8c1a2j20zk0m8kct.jpg
63
+ - 6833939bly1gipetfk5zwj20zk0m8e81.jpg
64
+ - 6833939bly1gipetlbztpj20zk0m84qp.jpg
65
+ - 6833939bly1gipetv6p75j20zk0m8x6p.jpg
66
+ - 6833939bly1gipeu1usa7j20zk0m8b29.jpg
67
+ - 6833939bly1gipeu7txpzj20zk0m81kx.jpg
68
+ - 6833939bly1gipeubcbajj20zk0m8h1h.jpg
69
+ - 6833939bly1gipeudstjqj20zk0m8k3r.jpg
70
+ - 6833939bly1gipeuibk9fj20zk0m8ay2.jpg
71
+ - 6833939bly1gipeun65urj20zk0m81ii.jpg
72
+ - 6833939bly1gipeuv80yoj20zk0m8kjl.jpg
73
+ - 6833939bly1gipev1x5e4j20zk0m8b29.jpg
74
+ - 6833939bly1gipevarprfj20zk0m8npd.jpg
75
+ - 6833939bly1gipevgoki5j20zk0m84qp.jpg
76
+ - 6833939bly1gipevo9j1jj20zk0m8e81.jpg
77
+ - 6833939bly1gipevuctzzj20zk0m84qp.jpg
78
+ - 6833939bly1gipew28b65j20zk0m8hdt.jpg
79
+ - 6833939bly1gipew8gmvyj20zk0m87wh.jpg
80
+ - 6833939bly1gipewf5l51j20zk0m8b29.jpg
81
+ - 6833939bly1gipewkhf1zj20zk0m81kx.jpg
82
+ - 6833939bly1gipewr8iypj20zk0m8b29.jpg
83
+ - 6833939bly1gipex2cdtbj20zk0m8x6p.jpg
84
+ - 6833939bly1gipexbei4hj20zk0m8npd.jpg
85
+ - 6833939bly1gipexe4oykj20zk0m87ji.jpg
86
+ - 6833939bly1gipexj2jgzj20zk0m8b09.jpg
87
+ - 6833939bly1gipexoj0moj20zk0m8kgu.jpg
88
+ - 6833939bly1gipexw3o58j20zk0m8e81.jpg
89
+ - 6833939bly1gipey0a334j20zk0m8qpt.jpg
90
+ - 6833939bly1gipey84bjtj20zk0m8hdt.jpg
91
+ - 6833939bly1gipeybxm1pj20zk0m8niv.jpg
92
+ - 6833939bly1gipeyhsblkj20zk0m81kx.jpg
93
+ - 6833939bly1gipeyonbf9j20zk0m8e81.jpg
94
+ - 6833939bly1gipeyvx1d4j20zk0m8hdt.jpg
95
+ - 6833939bly1giph47e9vtj20zk0m8x6l.jpg
96
+ - 6833939bly1giph4baakhj20zk0m8h5q.jpg
97
+ - 6833939bly1giph4fomxoj20zk0m8axp.jpg
98
+ - 6833939bly1giph4lm9i7j20zk0m84qp.jpg
99
+ - 6833939bly1giph4wqtg4j20zk0m8x6p.jpg
@@ -0,0 +1,19 @@
1
+ # Override Default Translations
2
+
3
+ If you would like to customize the default translation, you do not need to modify the translation files in the `languages` directory. You can override all translations using [Data Files](https://hexo.io/docs/data-files).
4
+
5
+ 1. Creat a `languages.yml` in `source/_data`.
6
+ 2. Insert following codes: (be careful about the two-space indent)
7
+
8
+ ```yml
9
+ # language
10
+ zh-CN:
11
+ # items
12
+ post:
13
+ copyright:
14
+ # the translation you perfer
15
+ author: 本文博主
16
+ en:
17
+ menu:
18
+ schedule: Calendar
19
+ ```
@@ -0,0 +1 @@
1
+ en.yml