hexo-theme-redefine-x 2.9.3 → 2.9.4
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/.versionrc.js +35 -35
- package/_config.yml +505 -512
- package/layout/components/comments/giscus.ejs +43 -42
- package/layout/components/scripts.ejs +100 -94
- package/layout/pages/home/home-banner.ejs +227 -227
- package/layout/pages/masonry/masonry-collection.ejs +59 -0
- package/layout/pages/masonry/masonry.ejs +73 -28
- package/layout/pages/tag/tags.ejs +24 -24
- package/package.json +45 -45
- package/scripts/events/clean-preserve.js +8 -0
- package/scripts/events/export-github-workflow.js +16 -0
- package/scripts/filters/encrypt.js +9 -35
- package/scripts/filters/img-optimizer.js +583 -566
- package/scripts/filters/lazyload-handle.js +472 -362
- package/scripts/filters/lib/hbe.default.js +1 -1
- package/scripts/helpers/page-helpers.js +159 -153
- package/scripts/masonry-generator.js +513 -0
- package/scripts/masonry-reactions.js +618 -0
- package/scripts/modules/image-exif.js +833 -835
- package/source/css/layout/_modules/image-exif.styl +377 -400
- package/source/css/layout/_partials/home-banner.styl +47 -47
- package/source/css/layout/_partials/image-viewer.styl +523 -529
- package/source/css/layout/_partials/page-template.styl +246 -14
- package/source/css/layout/_partials/tagcloud.styl +136 -136
- package/source/css/layout/tag-content.styl +30 -30
- package/source/js/build/layouts/autoHover.js +1 -1
- package/source/js/build/layouts/autoHover.js.map +1 -1
- package/source/js/build/layouts/imageExif.js +1 -1
- package/source/js/build/layouts/imageExif.js.map +1 -1
- package/source/js/build/plugins/giscus-client.js +2 -0
- package/source/js/build/plugins/giscus-client.js.map +1 -0
- package/source/js/build/plugins/giscus-client.source.js +2 -0
- package/source/js/build/plugins/giscus-client.source.js.map +1 -0
- package/source/js/build/plugins/hbe.js +1 -1
- package/source/js/build/plugins/hbe.js.map +1 -1
- package/source/js/build/plugins/masonry-reactions-client.min.js +2 -0
- package/source/js/build/plugins/masonry-reactions-client.min.js.map +1 -0
- package/source/js/build/plugins/masonry-reactions.js +2 -0
- package/source/js/build/plugins/masonry-reactions.js.map +1 -0
- package/source/js/build/plugins/masonry-reactions.source.js +2 -0
- package/source/js/build/plugins/masonry-reactions.source.js.map +1 -0
- package/source/js/build/plugins/masonry.js +1 -1
- package/source/js/build/plugins/masonry.js.map +1 -1
- package/source/js/build/tools/imageViewer.js +1 -1
- package/source/js/build/tools/imageViewer.js.map +1 -1
- package/source/js/layouts/autoHover.js +148 -0
- package/source/js/layouts/imageExif.js +463 -619
- package/source/js/plugins/giscus-client.js +1 -0
- package/source/js/plugins/giscus-client.source.js +256 -0
- package/source/js/plugins/hbe.js +15 -52
- package/source/js/plugins/masonry-reactions-client.min.js +1 -0
- package/source/js/plugins/masonry-reactions.js +1 -0
- package/source/js/plugins/masonry-reactions.source.js +756 -0
- package/source/js/plugins/masonry.js +79 -115
- package/source/js/tools/imageViewer.js +1940 -1800
- package/source/js/utils.js +401 -401
- package/workflows/giscus-cors-proxy/worker.js +119 -0
- package/workflows/giscus-cors-proxy/wrangler.toml +6 -0
- package/workflows/masonry-reactions-cleanup.yml +97 -0
- package/source/js/build/libs/minimasonry.min.js +0 -1
- package/source/js/libs/minimasonry.min.js +0 -1
package/.versionrc.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
const { tag } = require("hexo/dist/plugins/helper/is");
|
|
2
|
-
|
|
3
|
-
// .versionrc.js
|
|
4
|
-
module.exports = {
|
|
5
|
-
types: [
|
|
6
|
-
{ type: 'feat', section: '✨ Features | 新功能' },
|
|
7
|
-
{ type: 'fix', section: '🐛 Bug Fixes | Bug 修复' },
|
|
8
|
-
{ type: 'init', section: '🎉 Init | 初始化' },
|
|
9
|
-
{ type: 'docs', section: '✏️ Documentation | 文档' },
|
|
10
|
-
{ type: 'style', section: '💄 Styles | 风格' },
|
|
11
|
-
{ type: 'refactor', section: '♻️ Code Refactoring | 代码重构' },
|
|
12
|
-
{ type: 'perf', section: '⚡ Performance Improvements | 性能优化' },
|
|
13
|
-
{ type: 'test', section: '✅ Tests | 测试' },
|
|
14
|
-
{ type: 'revert', section: '⏪ Revert | 回退', hidden: true },
|
|
15
|
-
{ type: 'build', section: '📦 Build System | 打包构建' },
|
|
16
|
-
{ type: 'chore', section: '🚀 Chore | 构建/工程依赖/工具' },
|
|
17
|
-
{ type: 'ci', section: '👷 Continuous Integration | CI 配置' }
|
|
18
|
-
],
|
|
19
|
-
// 默认值: "chore(release): {{currentTag}}"
|
|
20
|
-
releaseCommitMessageFormat: `chore(release): {{currentTag}}
|
|
21
|
-
|
|
22
|
-
██████╗ ███████╗██████╗ ███████╗███████╗██╗███╗ ██╗███████╗ ██╗ ██╗
|
|
23
|
-
██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██║████╗ ██║██╔════╝ ╚██╗██╔╝
|
|
24
|
-
██████╔╝█████╗ ██║ ██║█████╗ █████╗ ██║██╔██╗ ██║█████╗█████╗╚███╔╝
|
|
25
|
-
██╔══██╗██╔══╝ ██║ ██║██╔══╝ ██╔══╝ ██║██║╚██╗██║██╔══╝╚════╝██╔██╗
|
|
26
|
-
██║ ██║███████╗██████╔╝███████╗██║ ██║██║ ╚████║███████╗ ██╔╝ ██╗
|
|
27
|
-
╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝
|
|
28
|
-
current version: {{currentTag}}
|
|
29
|
-
`,
|
|
30
|
-
header: '# Changelog: Hexo Theme Redefine-X',
|
|
31
|
-
// 跳过某步骤 可设置 bump changelog commit tag
|
|
32
|
-
skip: {
|
|
33
|
-
// commit: true
|
|
34
|
-
"changelog": true
|
|
35
|
-
}
|
|
1
|
+
const { tag } = require("hexo/dist/plugins/helper/is");
|
|
2
|
+
|
|
3
|
+
// .versionrc.js
|
|
4
|
+
module.exports = {
|
|
5
|
+
types: [
|
|
6
|
+
{ type: 'feat', section: '✨ Features | 新功能' },
|
|
7
|
+
{ type: 'fix', section: '🐛 Bug Fixes | Bug 修复' },
|
|
8
|
+
{ type: 'init', section: '🎉 Init | 初始化' },
|
|
9
|
+
{ type: 'docs', section: '✏️ Documentation | 文档' },
|
|
10
|
+
{ type: 'style', section: '💄 Styles | 风格' },
|
|
11
|
+
{ type: 'refactor', section: '♻️ Code Refactoring | 代码重构' },
|
|
12
|
+
{ type: 'perf', section: '⚡ Performance Improvements | 性能优化' },
|
|
13
|
+
{ type: 'test', section: '✅ Tests | 测试' },
|
|
14
|
+
{ type: 'revert', section: '⏪ Revert | 回退', hidden: true },
|
|
15
|
+
{ type: 'build', section: '📦 Build System | 打包构建' },
|
|
16
|
+
{ type: 'chore', section: '🚀 Chore | 构建/工程依赖/工具' },
|
|
17
|
+
{ type: 'ci', section: '👷 Continuous Integration | CI 配置' }
|
|
18
|
+
],
|
|
19
|
+
// 默认值: "chore(release): {{currentTag}}"
|
|
20
|
+
releaseCommitMessageFormat: `chore(release): {{currentTag}}
|
|
21
|
+
|
|
22
|
+
██████╗ ███████╗██████╗ ███████╗███████╗██╗███╗ ██╗███████╗ ██╗ ██╗
|
|
23
|
+
██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██║████╗ ██║██╔════╝ ╚██╗██╔╝
|
|
24
|
+
██████╔╝█████╗ ██║ ██║█████╗ █████╗ ██║██╔██╗ ██║█████╗█████╗╚███╔╝
|
|
25
|
+
██╔══██╗██╔══╝ ██║ ██║██╔══╝ ██╔══╝ ██║██║╚██╗██║██╔══╝╚════╝██╔██╗
|
|
26
|
+
██║ ██║███████╗██████╔╝███████╗██║ ██║██║ ╚████║███████╗ ██╔╝ ██╗
|
|
27
|
+
╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝
|
|
28
|
+
current version: {{currentTag}}
|
|
29
|
+
`,
|
|
30
|
+
header: '# Changelog: Hexo Theme Redefine-X',
|
|
31
|
+
// 跳过某步骤 可设置 bump changelog commit tag
|
|
32
|
+
skip: {
|
|
33
|
+
// commit: true
|
|
34
|
+
"changelog": true
|
|
35
|
+
}
|
|
36
36
|
}
|