hexo-theme-shokax 0.5.0-dev-e34ffd2 → 0.5.0-dev-0e1579b
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -16
- package/layout/_partials/head/head.pug +0 -2
- package/layout/_partials/layout.pug +1 -0
- package/layout/archive.pug +3 -0
- package/layout/category.pug +3 -0
- package/layout/index.pug +3 -0
- package/layout/page.pug +3 -0
- package/layout/post.pug +4 -0
- package/layout/tag.pug +3 -0
- package/package.json +1 -2
- package/source/css/app.styl +0 -13
- package/source/css/page.styl +3 -0
- package/source/css/post.styl +5 -0
- package/source/css/scaffolding.styl +5 -0
package/README.md
CHANGED
@@ -2,22 +2,22 @@
|
|
2
2
|
此分支为 ShokaX 0.5 实验性变更分支,确保0.5开发期间0.4的维护不受影响
|
3
3
|
|
4
4
|
计划更改:
|
5
|
-
- 移除 pjax
|
6
|
-
- 移除 quicklink
|
7
|
-
- 移除 assetUrl 为基的动态 Vendor 机制
|
8
|
-
- 移除 ShokaX Inject
|
9
|
-
- 引入新的 Inject 类技术 (长期)
|
10
|
-
- 引入新的工作流程
|
11
|
-
- 引入 CI 自动测试
|
12
|
-
- 重构 player (暂时移除)
|
13
|
-
- 优化 menu 配置格式
|
14
|
-
- 优化和异步化 Smart Bundle 技术
|
15
|
-
- 优化 CSS 结构和加载
|
16
|
-
- 修复/重置 fancybox
|
17
|
-
- 修复模板长期遗留问题
|
18
|
-
- 修复 images 遗留问题
|
19
|
-
- 规范化配置文件
|
20
|
-
- 规范化文档
|
5
|
+
- [x] 移除 pjax
|
6
|
+
- [x] 移除 quicklink
|
7
|
+
- [x] 移除 assetUrl 为基的动态 Vendor 机制
|
8
|
+
- [ ] 移除 ShokaX Inject
|
9
|
+
- [ ] 引入新的 Inject 类技术 (长期)
|
10
|
+
- [ ] 引入新的工作流程
|
11
|
+
- [ ] 引入 CI 自动测试
|
12
|
+
- [ ] 重构 player (暂时移除)
|
13
|
+
- [ ] 优化 menu 配置格式
|
14
|
+
- [ ] 优化和异步化 Smart Bundle 技术
|
15
|
+
- [ ] 优化 CSS 结构和加载
|
16
|
+
- [x] 修复/重置 fancybox
|
17
|
+
- [ ] 修复模板长期遗留问题
|
18
|
+
- [ ] 修复 images 遗留问题
|
19
|
+
- [ ] 规范化配置文件
|
20
|
+
- [ ] 规范化文档
|
21
21
|
|
22
22
|
## 📚子项目
|
23
23
|
- [ShokaX docs](https://github.com/theme-shoka-x/shokaX-docs) ShokaX 主题文档 (正在编写中,欢迎加入!)
|
@@ -41,7 +41,6 @@ each dnsLink in dnslinks
|
|
41
41
|
- var fontConfig = theme.font?.loadFromGoogle
|
42
42
|
if fontConfig
|
43
43
|
!= _vendor_font()
|
44
|
-
!= _css('app.css')
|
45
44
|
!= preloadjs()
|
46
45
|
!= load_async_css()
|
47
46
|
|
@@ -50,7 +49,6 @@ link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zs
|
|
50
49
|
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/justifiedGallery/3.8.1/css/justifiedGallery.min.css")
|
51
50
|
link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
52
51
|
//link(rel="stylesheet" media="none" onload="this.media='all'" href="https://s4.zstatic.net/ajax/libs/KaTeX/0.16.9/katex.min.css")
|
53
|
-
!= _css('mermaid.css')
|
54
52
|
if theme.experiments.cloudflarePatch
|
55
53
|
!= _js('cf-patch.js')
|
56
54
|
|
@@ -20,6 +20,7 @@ html(lang=page.language?page.language:config.language, style=theme.grayMode ? 'f
|
|
20
20
|
|
21
21
|
!= partial('_partials/head/head_com.pug')
|
22
22
|
!= shokax_inject('head')
|
23
|
+
block head
|
23
24
|
title
|
24
25
|
block title
|
25
26
|
!= `${alternate?alternate + " = ":""}${title}${subtitle?" = "+subtitle:""}`
|
package/layout/archive.pug
CHANGED
package/layout/category.pug
CHANGED
package/layout/index.pug
CHANGED
package/layout/page.pug
CHANGED
package/layout/post.pug
CHANGED
package/layout/tag.pug
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hexo-theme-shokax",
|
3
|
-
"version": "0.5.0-dev-
|
3
|
+
"version": "0.5.0-dev-0e1579b",
|
4
4
|
"description": "a hexo theme based on shoka",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
|
@@ -17,7 +17,6 @@
|
|
17
17
|
"@types/js-yaml": "^4.0.9",
|
18
18
|
"@types/katex": "^0.16.7",
|
19
19
|
"@types/node": "^22.8.6",
|
20
|
-
"@types/quicklink": "^2.3.4",
|
21
20
|
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
22
21
|
"@typescript-eslint/parser": "^8.12.2",
|
23
22
|
"eslint": "^9.13.0",
|
package/source/css/app.styl
CHANGED
@@ -20,22 +20,9 @@ if $_iconfont = hexo-config('style.iconfont')
|
|
20
20
|
else
|
21
21
|
@import "_iconfont";
|
22
22
|
|
23
|
-
// Scaffolding
|
24
|
-
@import "_common/scaffolding";
|
25
|
-
|
26
|
-
// Layout
|
27
|
-
@import "_common/outline";
|
28
|
-
|
29
|
-
// Components
|
30
|
-
@import "_common/components";
|
31
|
-
|
32
23
|
if $custom = hexo-config('style.custom')
|
33
24
|
@import $custom;
|
34
25
|
|
35
|
-
if hexo-config('injects.style')
|
36
|
-
for $inject_style in hexo-config('injects.style')
|
37
|
-
@import $inject_style;
|
38
|
-
|
39
26
|
if $optimize = hexo-config('experiments.optimizeLongPosts')
|
40
27
|
@import "optimize.styl"
|
41
28
|
|