hexo-theme-redefine-x 2.8.5
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/.github/ISSUE_TEMPLATE/bug-chinese.yml +115 -0
- package/.github/ISSUE_TEMPLATE/bug-english.yml +106 -0
- package/.github/ISSUE_TEMPLATE/enhancement-chinese.yml +55 -0
- package/.github/ISSUE_TEMPLATE/enhancement-english.yml +55 -0
- package/.github/workflows/build-and-commit.yml +49 -0
- package/.github/workflows/npm-publish.yml +34 -0
- package/.github/workflows/stale-issues.yml +20 -0
- package/CHANGELOG_REDEFINE_X.md +236 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +51 -0
- package/DONATION.md +82 -0
- package/LICENSE +674 -0
- package/README.md +135 -0
- package/README_zh-CN.md +138 -0
- package/README_zh-TW.md +137 -0
- package/TODO.md +215 -0
- package/_config.yml +489 -0
- package/languages/en.yml +93 -0
- package/languages/es.yml +92 -0
- package/languages/fr.yml +92 -0
- package/languages/ja.yml +92 -0
- package/languages/zh-CN.yml +95 -0
- package/languages/zh-TW.yml +94 -0
- package/layout/404.ejs +1 -0
- package/layout/archive.ejs +1 -0
- package/layout/category.ejs +1 -0
- package/layout/components/comments/comment.ejs +22 -0
- package/layout/components/comments/giscus.ejs +42 -0
- package/layout/components/comments/gitalk.ejs +47 -0
- package/layout/components/comments/twikoo.ejs +50 -0
- package/layout/components/comments/waline.ejs +34 -0
- package/layout/components/footer/footer.ejs +99 -0
- package/layout/components/header/head.ejs +222 -0
- package/layout/components/header/navbar.ejs +163 -0
- package/layout/components/header/preloader.ejs +148 -0
- package/layout/components/header/progress-bar.ejs +12 -0
- package/layout/components/plugins/aplayer.ejs +3 -0
- package/layout/components/scripts.ejs +90 -0
- package/layout/components/sidebar/author.ejs +6 -0
- package/layout/components/sidebar/avatar.ejs +3 -0
- package/layout/components/sidebar/statistics.ejs +14 -0
- package/layout/components/swup.ejs +27 -0
- package/layout/index.ejs +1 -0
- package/layout/layout.ejs +13 -0
- package/layout/page.ejs +57 -0
- package/layout/pages/archive/archive.ejs +3 -0
- package/layout/pages/bookmarks/bookmarks.ejs +68 -0
- package/layout/pages/category/categories.ejs +11 -0
- package/layout/pages/category/category-detail.ejs +6 -0
- package/layout/pages/friends/friends-link.ejs +59 -0
- package/layout/pages/home/home-article.ejs +52 -0
- package/layout/pages/home/home-background.ejs +33 -0
- package/layout/pages/home/home-banner.ejs +234 -0
- package/layout/pages/home/home-content.ejs +62 -0
- package/layout/pages/home/home-sidebar.ejs +78 -0
- package/layout/pages/masonry/masonry.ejs +28 -0
- package/layout/pages/notfound/notfound.ejs +8 -0
- package/layout/pages/page-template.ejs +23 -0
- package/layout/pages/post/article-content.ejs +153 -0
- package/layout/pages/post/article-copyright.ejs +69 -0
- package/layout/pages/post/article-info.ejs +78 -0
- package/layout/pages/post/post-tools.ejs +17 -0
- package/layout/pages/post/toc.ejs +15 -0
- package/layout/pages/shuoshuo/essays.ejs +23 -0
- package/layout/pages/tag/tag-detail.ejs +6 -0
- package/layout/pages/tag/tags.ejs +24 -0
- package/layout/post.ejs +1 -0
- package/layout/tag.ejs +1 -0
- package/layout/tags.ejs +1 -0
- package/layout/utils/image-viewer.ejs +3 -0
- package/layout/utils/local-search.ejs +20 -0
- package/layout/utils/paginator.ejs +8 -0
- package/layout/utils/posts-list.ejs +28 -0
- package/layout/utils/side-tools.ejs +51 -0
- package/package.json +45 -0
- package/scripts/config-export.js +66 -0
- package/scripts/data-handle.js +37 -0
- package/scripts/events/404.js +16 -0
- package/scripts/events/welcome.js +141 -0
- package/scripts/filters/delete-mask-handle.js +27 -0
- package/scripts/filters/encrypt.js +202 -0
- package/scripts/filters/img-handle.js +9 -0
- package/scripts/filters/lazyload-handle.js +350 -0
- package/scripts/filters/lib/hbe.default.js +15 -0
- package/scripts/filters/link-handle.js +42 -0
- package/scripts/filters/stylus-handle.js +9 -0
- package/scripts/filters/table-handle.js +11 -0
- package/scripts/helpers/meta-helpers.js +38 -0
- package/scripts/helpers/page-helpers.js +153 -0
- package/scripts/helpers/recommendation-helpers.js +367 -0
- package/scripts/helpers/theme-helpers.js +251 -0
- package/scripts/helpers/waline-helpers.js +33 -0
- package/scripts/modules/btn.js +85 -0
- package/scripts/modules/btns.js +71 -0
- package/scripts/modules/folding.js +34 -0
- package/scripts/modules/note-large.js +72 -0
- package/scripts/modules/note.js +64 -0
- package/scripts/modules/tabs.js +99 -0
- package/source/assets/hbe.style.css +220 -0
- package/source/assets/odometer-theme-minimal.css +81 -0
- package/source/css/build/tailwind.css +2 -0
- package/source/css/common/animated.styl +71 -0
- package/source/css/common/basic.styl +239 -0
- package/source/css/common/codeblock/code-block.styl +158 -0
- package/source/css/common/codeblock/code-theme.styl +82 -0
- package/source/css/common/codeblock/highlight.styl +189 -0
- package/source/css/common/codeblock/hljs-themes/dark/a11y-dark.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/agate.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/atom-one-dark.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/github-dark.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/monokai-sublime.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/night-owl.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/nord.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/tokyo-night-dark.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/dark/vs2015.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/light/atom-one-light.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/light/default.styl +18 -0
- package/source/css/common/codeblock/hljs-themes/light/github.styl +18 -0
- package/source/css/common/colors.styl +112 -0
- package/source/css/common/markdown.styl +337 -0
- package/source/css/common/redefine-theme.styl +65 -0
- package/source/css/common/theme.styl +72 -0
- package/source/css/common/variables.styl +145 -0
- package/source/css/layout/_modules/aplayer.styl +799 -0
- package/source/css/layout/_modules/buttons.styl +42 -0
- package/source/css/layout/_modules/folding.styl +180 -0
- package/source/css/layout/_modules/notes.styl +181 -0
- package/source/css/layout/_modules/tabs.styl +105 -0
- package/source/css/layout/_partials/404.styl +14 -0
- package/source/css/layout/_partials/archive-list.styl +49 -0
- package/source/css/layout/_partials/article-copyright-info.styl +27 -0
- package/source/css/layout/_partials/article-meta-info.styl +62 -0
- package/source/css/layout/_partials/comments/comment.styl +11 -0
- package/source/css/layout/_partials/comments/gitalk.styl +529 -0
- package/source/css/layout/_partials/comments/twikoo.styl +62 -0
- package/source/css/layout/_partials/comments/waline.styl +1151 -0
- package/source/css/layout/_partials/footer.styl +59 -0
- package/source/css/layout/_partials/home-banner.styl +48 -0
- package/source/css/layout/_partials/image-viewer.styl +37 -0
- package/source/css/layout/_partials/local-search.styl +137 -0
- package/source/css/layout/_partials/navbar.styl +309 -0
- package/source/css/layout/_partials/page-template.styl +147 -0
- package/source/css/layout/_partials/paginator.styl +65 -0
- package/source/css/layout/_partials/post-tools.styl +43 -0
- package/source/css/layout/_partials/progress-bar.styl +33 -0
- package/source/css/layout/_partials/side-tools.styl +87 -0
- package/source/css/layout/_partials/tagcloud.styl +136 -0
- package/source/css/layout/_partials/toc.styl +105 -0
- package/source/css/layout/animations.styl +42 -0
- package/source/css/layout/archive-content.styl +8 -0
- package/source/css/layout/article-content.styl +257 -0
- package/source/css/layout/bookmarks.styl +8 -0
- package/source/css/layout/category-content.styl +21 -0
- package/source/css/layout/category-list.styl +119 -0
- package/source/css/layout/home-content.styl +114 -0
- package/source/css/layout/home-sidebar.styl +126 -0
- package/source/css/layout/page.styl +144 -0
- package/source/css/layout/tag-content.styl +30 -0
- package/source/css/style.styl +26 -0
- package/source/css/tailwind.source.css +236 -0
- package/source/fontawesome/all.min.css +6 -0
- package/source/fontawesome/brands.min.css +6 -0
- package/source/fontawesome/duotone.min.css +6 -0
- package/source/fontawesome/fontawesome.min.css +6 -0
- package/source/fontawesome/light.min.css +6 -0
- package/source/fontawesome/regular.min.css +6 -0
- package/source/fontawesome/sharp-solid.min.css +6 -0
- package/source/fontawesome/solid.min.css +6 -0
- package/source/fontawesome/svg-with-js.min.css +6 -0
- package/source/fontawesome/thin.min.css +6 -0
- package/source/fontawesome/v4-font-face.min.css +6 -0
- package/source/fontawesome/v4-shims.min.css +6 -0
- package/source/fontawesome/v5-font-face.min.css +6 -0
- package/source/fonts/Chillax/Chillax-Variable.eot +0 -0
- package/source/fonts/Chillax/Chillax-Variable.ttf +0 -0
- package/source/fonts/Chillax/Chillax-Variable.woff +0 -0
- package/source/fonts/Chillax/Chillax-Variable.woff2 +0 -0
- package/source/fonts/Chillax/chillax.css +39 -0
- package/source/fonts/Geist/GeistVF.ttf +0 -0
- package/source/fonts/Geist/GeistVF.woff +0 -0
- package/source/fonts/Geist/GeistVF.woff2 +0 -0
- package/source/fonts/Geist/geist.css +16 -0
- package/source/fonts/GeistMono/GeistMonoVF.ttf +0 -0
- package/source/fonts/GeistMono/GeistMonoVF.woff +0 -0
- package/source/fonts/GeistMono/GeistMonoVF.woff2 +0 -0
- package/source/fonts/GeistMono/geist-mono.css +16 -0
- package/source/images/bookmark-placeholder.svg +9 -0
- package/source/images/loading.svg +5 -0
- package/source/images/redefine-avatar.svg +1 -0
- package/source/images/redefine-favicon.svg +1 -0
- package/source/images/redefine-logo.svg +1 -0
- package/source/images/redefine-logo.webp +0 -0
- package/source/images/redefine-og.webp +0 -0
- package/source/images/wallhaven-wqery6-dark.webp +0 -0
- package/source/images/wallhaven-wqery6-light.webp +0 -0
- package/source/js/build/layouts/bookmarkNav.js +2 -0
- package/source/js/build/layouts/bookmarkNav.js.map +1 -0
- package/source/js/build/layouts/categoryList.js +2 -0
- package/source/js/build/layouts/categoryList.js.map +1 -0
- package/source/js/build/layouts/essays.js +2 -0
- package/source/js/build/layouts/essays.js.map +1 -0
- package/source/js/build/layouts/lazyload.js +2 -0
- package/source/js/build/layouts/lazyload.js.map +1 -0
- package/source/js/build/layouts/navbarShrink.js +2 -0
- package/source/js/build/layouts/navbarShrink.js.map +1 -0
- package/source/js/build/layouts/toc.js +2 -0
- package/source/js/build/layouts/toc.js.map +1 -0
- package/source/js/build/libs/APlayer.min.js +2 -0
- package/source/js/build/libs/Swup.min.js +2 -0
- package/source/js/build/libs/SwupPreloadPlugin.min.js +1 -0
- package/source/js/build/libs/SwupProgressPlugin.min.js +1 -0
- package/source/js/build/libs/SwupScriptsPlugin.min.js +1 -0
- package/source/js/build/libs/SwupScrollPlugin.min.js +1 -0
- package/source/js/build/libs/SwupSlideTheme.min.js +1 -0
- package/source/js/build/libs/Typed.min.js +10 -0
- package/source/js/build/libs/anime.min.js +8 -0
- package/source/js/build/libs/mermaid.min.js +2314 -0
- package/source/js/build/libs/minimasonry.min.js +1 -0
- package/source/js/build/libs/moment-with-locales.min.js +2 -0
- package/source/js/build/libs/moment.min.js +2 -0
- package/source/js/build/libs/odometer.min.js +2 -0
- package/source/js/build/libs/pangu.min.js +9 -0
- package/source/js/build/libs/pjax.min.js +1 -0
- package/source/js/build/libs/waline.js +84 -0
- package/source/js/build/main.js +2 -0
- package/source/js/build/main.js.map +1 -0
- package/source/js/build/plugins/aplayer.js +2 -0
- package/source/js/build/plugins/aplayer.js.map +1 -0
- package/source/js/build/plugins/hbe.js +2 -0
- package/source/js/build/plugins/hbe.js.map +1 -0
- package/source/js/build/plugins/masonry.js +2 -0
- package/source/js/build/plugins/masonry.js.map +1 -0
- package/source/js/build/plugins/mermaid.js +2 -0
- package/source/js/build/plugins/mermaid.js.map +1 -0
- package/source/js/build/plugins/pangu.js +2 -0
- package/source/js/build/plugins/pangu.js.map +1 -0
- package/source/js/build/plugins/tabs.js +2 -0
- package/source/js/build/plugins/tabs.js.map +1 -0
- package/source/js/build/plugins/typed.js +2 -0
- package/source/js/build/plugins/typed.js.map +1 -0
- package/source/js/build/tools/codeBlock.js +2 -0
- package/source/js/build/tools/codeBlock.js.map +1 -0
- package/source/js/build/tools/imageViewer.js +2 -0
- package/source/js/build/tools/imageViewer.js.map +1 -0
- package/source/js/build/tools/lightDarkSwitch.js +2 -0
- package/source/js/build/tools/lightDarkSwitch.js.map +1 -0
- package/source/js/build/tools/localSearch.js +2 -0
- package/source/js/build/tools/localSearch.js.map +1 -0
- package/source/js/build/tools/runtime.js +2 -0
- package/source/js/build/tools/runtime.js.map +1 -0
- package/source/js/build/tools/scrollTopBottom.js +2 -0
- package/source/js/build/tools/scrollTopBottom.js.map +1 -0
- package/source/js/build/tools/tocToggle.js +2 -0
- package/source/js/build/tools/tocToggle.js.map +1 -0
- package/source/js/build/utils.js +2 -0
- package/source/js/build/utils.js.map +1 -0
- package/source/js/build.js +148 -0
- package/source/js/layouts/bookmarkNav.js +65 -0
- package/source/js/layouts/categoryList.js +53 -0
- package/source/js/layouts/essays.js +25 -0
- package/source/js/layouts/lazyload.js +199 -0
- package/source/js/layouts/navbarShrink.js +135 -0
- package/source/js/layouts/toc.js +115 -0
- package/source/js/libs/APlayer.min.js +2 -0
- package/source/js/libs/APlayer.min.js.map +1 -0
- package/source/js/libs/Swup.min.js +2 -0
- package/source/js/libs/Swup.min.js.map +1 -0
- package/source/js/libs/SwupPreloadPlugin.min.js +1 -0
- package/source/js/libs/SwupPreloadPlugin.min.js.map +1 -0
- package/source/js/libs/SwupProgressPlugin.min.js +1 -0
- package/source/js/libs/SwupScriptsPlugin.min.js +1 -0
- package/source/js/libs/SwupScrollPlugin.min.js +1 -0
- package/source/js/libs/SwupScrollPlugin.min.js.map +1 -0
- package/source/js/libs/SwupSlideTheme.min.js +1 -0
- package/source/js/libs/Typed.min.js +10 -0
- package/source/js/libs/anime.min.js +8 -0
- package/source/js/libs/mermaid.min.js +2314 -0
- package/source/js/libs/mermaid.min.js.map +7 -0
- package/source/js/libs/minimasonry.min.js +1 -0
- package/source/js/libs/moment-with-locales.min.js +2 -0
- package/source/js/libs/moment.min.js +2 -0
- package/source/js/libs/odometer.min.js +2 -0
- package/source/js/libs/pangu.min.js +9 -0
- package/source/js/libs/pjax.min.js +1 -0
- package/source/js/libs/waline.js +84 -0
- package/source/js/libs/waline.js.map +1 -0
- package/source/js/main.js +95 -0
- package/source/js/plugins/aplayer.js +33 -0
- package/source/js/plugins/hbe.js +350 -0
- package/source/js/plugins/masonry.js +115 -0
- package/source/js/plugins/mermaid.js +7 -0
- package/source/js/plugins/pangu.js +12 -0
- package/source/js/plugins/tabs.js +29 -0
- package/source/js/plugins/typed.js +62 -0
- package/source/js/tools/codeBlock.js +48 -0
- package/source/js/tools/imageViewer.js +194 -0
- package/source/js/tools/lightDarkSwitch.js +165 -0
- package/source/js/tools/localSearch.js +327 -0
- package/source/js/tools/runtime.js +28 -0
- package/source/js/tools/scrollTopBottom.js +34 -0
- package/source/js/tools/tocToggle.js +58 -0
- package/source/js/utils.js +383 -0
- package/source/webfonts/fa-brands-400.ttf +0 -0
- package/source/webfonts/fa-brands-400.woff2 +0 -0
- package/source/webfonts/fa-duotone-900.ttf +0 -0
- package/source/webfonts/fa-duotone-900.woff2 +0 -0
- package/source/webfonts/fa-light-300.ttf +0 -0
- package/source/webfonts/fa-light-300.woff2 +0 -0
- package/source/webfonts/fa-regular-400.ttf +0 -0
- package/source/webfonts/fa-regular-400.woff2 +0 -0
- package/source/webfonts/fa-sharp-solid-900.ttf +0 -0
- package/source/webfonts/fa-sharp-solid-900.woff2 +0 -0
- package/source/webfonts/fa-solid-900.ttf +0 -0
- package/source/webfonts/fa-solid-900.woff2 +0 -0
- package/source/webfonts/fa-thin-100.ttf +0 -0
- package/source/webfonts/fa-thin-100.woff2 +0 -0
- package/source/webfonts/fa-v4compatibility.ttf +0 -0
- package/source/webfonts/fa-v4compatibility.woff2 +0 -0
- package/vercel.json +7 -0
package/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
<div align="right">
|
|
2
|
+
<img src="https://img.shields.io/badge/-English-A31F34?style=for-the-badge" alt="English" />
|
|
3
|
+
<a title="zh-CN" href="README_zh-CN.md"> <img src="https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="简体中文"></a>
|
|
4
|
+
<a title="zh-TW" href="README_zh-TW.md"><img src="https://img.shields.io/badge/-%E7%B9%81%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="繁体中文"></a>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
██████╗ ███████╗██████╗ ███████╗███████╗██╗███╗ ██╗███████╗ ██╗ ██╗
|
|
11
|
+
██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██║████╗ ██║██╔════╝ ╚██╗██╔╝
|
|
12
|
+
██████╔╝█████╗ ██║ ██║█████╗ █████╗ ██║██╔██╗ ██║█████╗█████╗╚███╔╝
|
|
13
|
+
██╔══██╗██╔══╝ ██║ ██║██╔══╝ ██╔══╝ ██║██║╚██╗██║██╔══╝╚════╝██╔██╗
|
|
14
|
+
██║ ██║███████╗██████╔╝███████╗██║ ██║██║ ╚████║███████╗ ██╔╝ ██╗
|
|
15
|
+
╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
# hexo-theme-Redefine-X
|
|
21
|
+
|
|
22
|
+
Hexo-theme-Redefine-X reimagines simplicity, speed, and purity, without sacrificing functionality or design. Its sleek, modern aesthetic is packed with useful features, blending style and practicality seamlessly.
|
|
23
|
+
|
|
24
|
+
Building on the solid foundation of hexo-theme-redefine, "Redefine-X" elevates the style with custom modifications and incorporates valuable writing tools and plugins. It offers extensive customization options, allowing you to tailor every detail to your preferences. With Redefine-X, your blogging experience becomes unique and effortless, showcasing your personal style and needs.
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<a href="https://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E=5.0.0-8caaee?style=for-the-badge&logo=hexo&logoColor=8caaee" referrerpolicy="no-referrer" alt="Required Hexo version" /></a>
|
|
28
|
+
<img src="https://img.shields.io/badge/node-%3E=12.0-a6d189?style=for-the-badge&logo=node.js&logoColor=a6d189" referrerpolicy="no-referrer" alt="NodeJS Version" />
|
|
29
|
+
<a href="https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X"><img src="https://img.shields.io/github/stars/Jason-JP-Yang/hexo-theme-Redefine-X?style=for-the-badge" alt="GitHub Stars" /></a>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
<picture>
|
|
33
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/337c1801-7a59-45af-a02a-583508be69a5" />
|
|
34
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
35
|
+
<img alt="Cover Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
36
|
+
</picture>
|
|
37
|
+
|
|
38
|
+
<picture>
|
|
39
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203" />
|
|
40
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
41
|
+
<img alt="Pages Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
42
|
+
</picture>
|
|
43
|
+
|
|
44
|
+
## 🌐 Demo
|
|
45
|
+
|
|
46
|
+
- [Jason Yang's Blog](https://blog.jason-yang.top)
|
|
47
|
+
- [Theme Redefine-X Documentation](https://redefine-x-docs.jason-yang.top/zh)
|
|
48
|
+
|
|
49
|
+
## ⛰️ Features
|
|
50
|
+
|
|
51
|
+
- [Note Module](https://redefine-x-docs.jason-yang.top/zh/modules/notes)
|
|
52
|
+
- [Friend Link Page](https://redefine-x-docs.jason-yang.top/zh/page_templates/friends)
|
|
53
|
+
- [Mathjax Support](https://redefine-x-docs.jason-yang.top/zh/plugins/mathjax)
|
|
54
|
+
- Code block language display
|
|
55
|
+
- Light/Dark mode switching
|
|
56
|
+
- [Font Awesome 6.2.1 Pro](https://redefine-x-docs.jason-yang.top/zh/basic/fontawesome) (contains different styles like Duotone/Regular/Thin/Sharp)
|
|
57
|
+
- [Drop-down menu](https://redefine-x-docs.jason-yang.top/zh/home/navbar)
|
|
58
|
+
- [Customizable footer](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
59
|
+
- [Site Uptime Display](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
60
|
+
- [Article Header Image](https://redefine-x-docs.jason-yang.top/zh/article_customize/banner)
|
|
61
|
+
- [Mermaid JS support](https://redefine-x-docs.jason-yang.top/zh/plugins/mermaid)
|
|
62
|
+
- SEO friendly
|
|
63
|
+
- [Aplayer support](https://redefine-x-docs.jason-yang.top/zh/plugins/aplayer)
|
|
64
|
+
- [Shuoshuo support](https://redefine-x-docs.jason-yang.top/zh/shuoshuo)
|
|
65
|
+
- [Customizable Font](https://redefine-x-docs.jason-yang.top/zh/basic/global)
|
|
66
|
+
- Tailwind CSS Included
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## ☁️ Installation
|
|
71
|
+
|
|
72
|
+
Install Theme Redefine-X by **git clone**
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
$ cd your-hexo-site
|
|
76
|
+
$ git clone https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X.git themes/redefine-x
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
After the installation, go to the `_config.yml` of your hexo site and set
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
theme: redefine-x
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## ⏫ Update
|
|
86
|
+
|
|
87
|
+
To update hexo-theme-Redefine-X, run the following command
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
$ cd themes/redefine-x
|
|
91
|
+
$ git pull
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## 📄 Documentations
|
|
97
|
+
|
|
98
|
+
Please read [Redefine-X Docs](https://redefine-x-docs.jason-yang.top/zh) when installing
|
|
99
|
+
|
|
100
|
+
It's very easy to understand. I'm currenting considering also setup a github wikis version for better accessing.
|
|
101
|
+
|
|
102
|
+
## ☕ Support
|
|
103
|
+
|
|
104
|
+
Feel free to **pull request** and **send issues**.
|
|
105
|
+
|
|
106
|
+
If you have any questions, please send an email to [jiepengyang@outlook.com](mailto:jiepengyang@outlook.com). I will reply in time.
|
|
107
|
+
|
|
108
|
+
Please **give me a star** to support me, thanks!
|
|
109
|
+
|
|
110
|
+
Hexo-Theme-Redefine-X is a fully open-source project and completely non-commercial. Currently, this project can only utilize public CDNs for acceleration. I have focused on enriching features and optimizing the core webpage loading logic. If you appreciate this design and visual style, please consider supporting the original Hexo-Theme-Redefine at:
|
|
111
|
+
https://github.com/EvanNotFound/hexo-theme-redefine
|
|
112
|
+
|
|
113
|
+
## 🌟 Star History
|
|
114
|
+
|
|
115
|
+
<p align="center">
|
|
116
|
+
<a href="https://star-history.com/#Jason-JP-Yang/hexo-theme-Redefine-X&Date">
|
|
117
|
+
<picture>
|
|
118
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date&theme=dark" />
|
|
119
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
|
|
120
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
|
|
121
|
+
</picture>
|
|
122
|
+
</a>
|
|
123
|
+
</p>
|
|
124
|
+
|
|
125
|
+
## 💻 Development
|
|
126
|
+
|
|
127
|
+
If you want to contribute to this project, you can clone the `main` branch and check out the [Development Docs](https://redefine-x-docs.jason-yang.top/zh/developer) to get started.
|
|
128
|
+
|
|
129
|
+
## 📜 License
|
|
130
|
+
|
|
131
|
+
Copyright © 2025-2026 Jason-JP-Yang
|
|
132
|
+
|
|
133
|
+
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.
|
|
134
|
+
|
|
135
|
+
Based on [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine) by EvanNotFound.
|
package/README_zh-CN.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
<div align="right">
|
|
2
|
+
<a title="en" href="README.md"><img src="https://img.shields.io/badge/-English-545759?style=for-the-badge" alt="english"></a>
|
|
3
|
+
<img src="https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-A31F34?style=for-the-badge" alt="简体中文">
|
|
4
|
+
<a title="zh-TW" href="README_zh-TW.md"><img src="https://img.shields.io/badge/-%E7%B9%81%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="繁体中文"></a>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
____ __ ___ __ __
|
|
11
|
+
/\ _`\ /\ \ /'___\ __ /\ \ /\ \
|
|
12
|
+
\ \ \L\ \ __ \_\ \ __ /\ \__//\_\ ___ __ \ `\`\/'/'
|
|
13
|
+
\ \ , / /'__`\ /'_` \ /'__`\ \ ,__\/\ \ /' _ `\ /'__`\ _______`\/ > <
|
|
14
|
+
\ \ \\ \ /\ __//\ \L\ \/\ __/\ \ \_/\ \ \/\ \/\ \/\ __//\______\ \/'/\`\
|
|
15
|
+
\ \_\ \_\ \____\ \___,_\ \____\\ \_\ \ \_\ \_\ \_\ \____\/______/ /\_\\ \_\
|
|
16
|
+
\/_/\/ /\/____/\/__,_ /\/____/ \/_/ \/_/\/_/\/_/\/____/ \/_/ \/_/
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# hexo-theme-Redefine-X
|
|
23
|
+
|
|
24
|
+
"Redefine-X" 是一款简洁、快速、纯粹的 Hexo 主题,其简约之美遥非平凡,让人领略到设计的力量。本主题不仅包含诸多实用丰富的功能,而且赋予了精致而出色的设计理念。
|
|
25
|
+
|
|
26
|
+
本主题源自 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine),进一步进行了精心打磨和扩展。在保留了原主题的精炼基础上,我们优化了整体样式,引入了自定义功能,增添了多种个性化支持。同时,大幅提高了自定义的灵活度,旨在让您能够更加便捷、顺畅地运用本主题,打造出独具匠心的个人博客。
|
|
27
|
+
|
|
28
|
+
本主题源自 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 的早期版本,进一步进行了精心打磨和扩展。在保留了原主题的精炼基础上,我们优化了整体样式,引入了丰富的写作模块,并增添了多种插件支持。同时,大幅提高了自定义的灵活度,旨在让您能够更加便捷、顺畅地运用本主题,打造出独具匠心的个人博客。
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
<a href="https://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E=5.0.0-8caaee?style=for-the-badge&logo=hexo&logoColor=8caaee" referrerpolicy="no-referrer" alt="Required Hexo version" /></a>
|
|
32
|
+
<img src="https://img.shields.io/badge/node-%3E=12.0-a6d189?style=for-the-badge&logo=node.js&logoColor=a6d189" referrerpolicy="no-referrer" alt="NodeJS Version" />
|
|
33
|
+
<a href="https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X"><img src="https://img.shields.io/github/stars/Jason-JP-Yang/hexo-theme-Redefine-X?style=for-the-badge" alt="GitHub Stars" /></a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<picture>
|
|
38
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/337c1801-7a59-45af-a02a-583508be69a5" />
|
|
39
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
40
|
+
<img alt="Cover Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
41
|
+
</picture>
|
|
42
|
+
|
|
43
|
+
<picture>
|
|
44
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203" />
|
|
45
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
46
|
+
<img alt="Pages Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
47
|
+
</picture>
|
|
48
|
+
|
|
49
|
+
## 🌐 官方演示站
|
|
50
|
+
|
|
51
|
+
- [Jason Yang's Blog](https://blog.jason-yang.top)
|
|
52
|
+
- [Theme Redefine-X 文档](https://redefine-x-docs.jason-yang.top/zh)
|
|
53
|
+
|
|
54
|
+
## ⛰️ 部分功能
|
|
55
|
+
|
|
56
|
+
- [笔记模块](https://redefine-x-docs.jason-yang.top/zh/modules/notes)
|
|
57
|
+
- [友链样式](https://redefine-x-docs.jason-yang.top/zh/page_templates/friends)
|
|
58
|
+
- [数学公式](https://redefine-x-docs.jason-yang.top/zh/plugins/mathjax)
|
|
59
|
+
- 代码块语言显示
|
|
60
|
+
- Light/Dark 模式切换
|
|
61
|
+
- [Font Awesome 6.2.1 Pro](https://redefine-x-docs.jason-yang.top/zh/basic/fontawesome)(包含 Duotone/Regular/Thin 等不同样式)
|
|
62
|
+
- [下拉菜单](https://redefine-x-docs.jason-yang.top/zh/home/navbar)
|
|
63
|
+
- [可自定义页脚](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
64
|
+
- [网站运行时间显示](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
65
|
+
- [文章头图](https://redefine-x-docs.jason-yang.top/zh/article_customize/banner)
|
|
66
|
+
- [Mermaid JS 支持](https://redefine-x-docs.jason-yang.top/zh/plugins/mermaid)
|
|
67
|
+
- SEO 友好
|
|
68
|
+
- [Aplayer 音乐播放器支持](https://redefine-x-docs.jason-yang.top/zh/plugins/aplayer)
|
|
69
|
+
- [说说模块](https://redefine-x-docs.jason-yang.top/zh/shuoshuo)
|
|
70
|
+
- [自定义字体](https://redefine-x-docs.jason-yang.top/zh/basic/global)
|
|
71
|
+
- Tailwind CSS 支持
|
|
72
|
+
|
|
73
|
+
## ☁️ 安装
|
|
74
|
+
|
|
75
|
+
使用 git 克隆
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
$ cd your-hexo-site
|
|
79
|
+
$ git clone https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X.git themes/redefine-x
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
安装完成后,在 Hexo 配置文件 `_config.yml` 中将 `theme` 设置为 `redefine-x`。
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
theme: redefine-x
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## ⏫ 更新
|
|
90
|
+
|
|
91
|
+
Theme Redefine-X 经常发布新版本,你可以通过如下命令更新 Theme Redefine-X。
|
|
92
|
+
|
|
93
|
+
通过 `git` 更新到最新的 `main` 分支:
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
$ cd themes/redefine-x
|
|
97
|
+
$ git pull
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## 📄 文档
|
|
102
|
+
|
|
103
|
+
请阅读 [Redefine-X 主题官方文档](https://redefine-x-docs.jason-yang.top/zh) 进行主题配置与安装,非常简单易懂。
|
|
104
|
+
|
|
105
|
+
## ☕ 支持
|
|
106
|
+
|
|
107
|
+
欢迎 **pull request** 或者 提交 **issues**.
|
|
108
|
+
|
|
109
|
+
如有问题,请发邮件到 [jiepengyang@outlook.com](mailto:jiepengyang@outlook.com). 我会及时回复
|
|
110
|
+
|
|
111
|
+
如果你觉得主题还不错的话,欢迎给我 Github 点个 Star,谢谢。建议点个 Watch,以便及时获取主题更新。
|
|
112
|
+
|
|
113
|
+
Hexo-Theme-Redefine-X 是一个完全开源且完全公益的项目。本项目目前仅能使用公开的CDN进行加速。我的开发重点在于增加更丰富的功能并优化网页的核心加载逻辑。如果你喜欢这个设计与画风,请前往 Hexo-Theme-Redefine 支持原项目:
|
|
114
|
+
https://github.com/EvanNotFound/hexo-theme-redefine
|
|
115
|
+
|
|
116
|
+
## 🌟 Star 记录
|
|
117
|
+
|
|
118
|
+
<a href="https://star-history.com/#Jason-JP-Yang/hexo-theme-Redefine-X&Date">
|
|
119
|
+
<picture>
|
|
120
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date&theme=dark" />
|
|
121
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
|
|
122
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
|
|
123
|
+
</picture>
|
|
124
|
+
</a>
|
|
125
|
+
|
|
126
|
+
## 💻 主题开发
|
|
127
|
+
|
|
128
|
+
如果你想参与主题开发,请 `clone` 本项目的 `main` 分支,然后在 `main` 分支上进行开发。
|
|
129
|
+
|
|
130
|
+
同时,请查看 [Redefine-X 主题开发文档](https://redefine-x-docs.jason-yang.top/zh/developer)。
|
|
131
|
+
|
|
132
|
+
## 📜 许可证
|
|
133
|
+
|
|
134
|
+
Copyright © 2025-2026 Jason-JP-Yang
|
|
135
|
+
|
|
136
|
+
本项目基于 GPL-3.0 许可证开源 - 详见 [LICENSE](LICENSE) 文件。
|
|
137
|
+
|
|
138
|
+
基于 EvanNotFound 的 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine) 开发。
|
package/README_zh-TW.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
<div align="right">
|
|
2
|
+
<a title="en" href="README.md"><img src="https://img.shields.io/badge/-English-545759?style=for-the-badge" alt="english"></a>
|
|
3
|
+
<a title="zh-CN" href="README_zh-CN.md"> <img src="https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="简体中文"></a>
|
|
4
|
+
<img src="https://img.shields.io/badge/-%E7%B9%81%E9%AB%94%E4%B8%AD%E6%96%87-A31F34?style=for-the-badge" alt="language">
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
____ __ ___ __ __
|
|
11
|
+
/\ _`\ /\ \ /'___\ __ /\ \ /\ \
|
|
12
|
+
\ \ \L\ \ __ \_\ \ __ /\ \__//\_\ ___ __ \ `\`\/'/'
|
|
13
|
+
\ \ , / /'__`\ /'_` \ /'__`\ \ ,__\/\ \ /' _ `\ /'__`\ _______`\/ > <
|
|
14
|
+
\ \ \\ \ /\ __//\ \L\ \/\ __/\ \ \_/\ \ \/\ \/\ \/\ __//\______\ \/'/\`\
|
|
15
|
+
\ \_\ \_\ \____\ \___,_\ \____\\ \_\ \ \_\ \_\ \_\ \____\/______/ /\_\\ \_\
|
|
16
|
+
\/_/\/ /\/____/\/__,_ /\/____/ \/_/ \/_/\/_/\/_/\/____/ \/_/ \/_/
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# hexo-theme-Redefine-X
|
|
24
|
+
|
|
25
|
+
"Redefine-X" 是一款簡潔、快速、純粹的 Hexo 主題,其簡約之美遙非平凡,讓人領略到設計的力量。本主題不僅包含諸多實用豐富的功能,而且賦予了精緻而出色的設計理念。
|
|
26
|
+
|
|
27
|
+
本主題源自 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine),進一步進行了精心打磨和擴展。在保留了原主題的精煉基礎上,我們優化了整體風格,引入了自訂功能,增添了多種個性化支援。同時,大幅提高了自訂的靈活度,旨在讓您能夠更加便捷、順暢地運用本主題,打造出獨具匠心的個人博客。
|
|
28
|
+
<p align="center">
|
|
29
|
+
<a href="https://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E=5.0.0-8caaee?style=for-the-badge&logo=hexo&logoColor=8caaee" referrerpolicy="no-referrer" alt="Required Hexo version" /></a>
|
|
30
|
+
<img src="https://img.shields.io/badge/node-%3E=12.0-a6d189?style=for-the-badge&logo=node.js&logoColor=a6d189" referrerpolicy="no-referrer" alt="NodeJS Version" />
|
|
31
|
+
<a href="https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X"><img src="https://img.shields.io/github/stars/Jason-JP-Yang/hexo-theme-Redefine-X?style=for-the-badge" alt="GitHub Stars" /></a>
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<picture>
|
|
37
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/337c1801-7a59-45af-a02a-583508be69a5" />
|
|
38
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
39
|
+
<img alt="Cover Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
|
|
40
|
+
</picture>
|
|
41
|
+
|
|
42
|
+
<picture>
|
|
43
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203" />
|
|
44
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
45
|
+
<img alt="Pages Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
|
|
46
|
+
</picture>
|
|
47
|
+
|
|
48
|
+
## 🌐 在線演示站
|
|
49
|
+
|
|
50
|
+
- [Jason Yang's Blog](https://blog.jason-yang.top)
|
|
51
|
+
- [Theme Redefine-X 文檔](https://redefine-x-docs.jason-yang.top/zh)
|
|
52
|
+
|
|
53
|
+
## ⛰️ 部分功能
|
|
54
|
+
|
|
55
|
+
- [筆記模塊](https://redefine-x-docs.jason-yang.top/zh/modules/notes)
|
|
56
|
+
- [友鏈樣式](https://redefine-x-docs.jason-yang.top/zh/page_templates/friends)
|
|
57
|
+
- [數學公式](https://redefine-x-docs.jason-yang.top/zh/plugins/mathjax)
|
|
58
|
+
- 代碼塊語言顯示
|
|
59
|
+
- Light/Dark 模式切換
|
|
60
|
+
- [Font Awesome 6.2.1 Pro](https://redefine-x-docs.jason-yang.top/zh/basic/fontawesome)(包含 Duotone/Regular/Thin 等不同樣式)
|
|
61
|
+
- [下拉菜單](https://redefine-x-docs.jason-yang.top/zh/home/navbar)
|
|
62
|
+
- [可自定義頁腳](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
63
|
+
- [網站運行時間顯示](https://redefine-x-docs.jason-yang.top/zh/footer)
|
|
64
|
+
- [文章頭圖](https://redefine-x-docs.jason-yang.top/zh/article_customize/banner)
|
|
65
|
+
- [Mermaid JS 支持](https://redefine-x-docs.jason-yang.top/zh/plugins/mermaid)
|
|
66
|
+
- SEO 友好
|
|
67
|
+
- [Aplayer 音樂播放器支持](https://redefine-x-docs.jason-yang.top/zh/plugins/aplayer)
|
|
68
|
+
- [說說模塊](https://redefine-x-docs.jason-yang.top/zh/shuoshuo)
|
|
69
|
+
- [自定義字體](https://redefine-x-docs.jason-yang.top/zh/basic/global)
|
|
70
|
+
- Tailwind CSS 支持
|
|
71
|
+
|
|
72
|
+
## ☁️ 安裝
|
|
73
|
+
|
|
74
|
+
如果你的 Hexo 版本在 `5.0` 及以上,推薦通過git 克隆
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
$ cd your-hexo-site
|
|
78
|
+
$ git clone https://github.com/EvanNotFound/hexo-theme-redefine.git themes/redefine-x
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
安裝完成後,在 Hexo 配置文件 `_config.yml` 中將 `theme` 設置為 `redefine-x`。
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
theme: redefine-x
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## ⏫ 更新
|
|
90
|
+
|
|
91
|
+
Theme Redefine 經常發布新版本,你可以透過如下命令更新 Theme Redefine。
|
|
92
|
+
|
|
93
|
+
通過 `npm` 安裝最新版本:
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
$ npm install hexo-theme-redefine@latest
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
通過 `git` 更新到最新的 `main` 分支:
|
|
100
|
+
|
|
101
|
+
```sh
|
|
102
|
+
$ cd themes/redefine
|
|
103
|
+
$ git pull
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## 📄 文檔
|
|
109
|
+
|
|
110
|
+
請閱讀 [Redefine 主題官方文檔](https://redefine-x-docs.jason-yang.top/zh/) 進行主題配置與安裝,非常簡單易懂。
|
|
111
|
+
|
|
112
|
+
## ☕ 支持
|
|
113
|
+
|
|
114
|
+
歡迎 **pull request** 或者 提交 **issues**.
|
|
115
|
+
|
|
116
|
+
如有問題,請發郵件到 [jiepengyang@outlook.com](mailto:jiepengyang@outlook.com). 我會及時回复
|
|
117
|
+
|
|
118
|
+
如果你覺得主題還不錯的話,歡迎給我 Github 點個 Star,謝謝
|
|
119
|
+
|
|
120
|
+
Hexo-Theme-Redefine-X 是一個完全開源且完全公益的專案。本專案目前僅能使用公開的CDN進行加速。我的開發重點在於增加更豐富的功能並優化網頁的核心加載邏輯。如果你喜歡這個設計與畫風,請前往 Hexo-Theme-Redefine 支持原專案:
|
|
121
|
+
https://github.com/EvanNotFound/hexo-theme-redefine
|
|
122
|
+
|
|
123
|
+
## 🌟 Star 記錄
|
|
124
|
+
|
|
125
|
+
<a href="https://star-history.com/#EvanNotFound/hexo-theme-redefine&Date">
|
|
126
|
+
<picture>
|
|
127
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=EvanNotFound/hexo-theme-redefine&type=Date&theme=dark" />
|
|
128
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=EvanNotFound/hexo-theme-redefine&type=Date" />
|
|
129
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=EvanNotFound/hexo-theme-redefine&type=Date" />
|
|
130
|
+
</picture>
|
|
131
|
+
</a>
|
|
132
|
+
|
|
133
|
+
## 💻 主题开发
|
|
134
|
+
|
|
135
|
+
如果你想參與主題開發,請 `clone` 本專案的 `dev` 分支,然後在 `dev` 分支上進行開發。
|
|
136
|
+
|
|
137
|
+
同時,請查看 [Redefine 主題開發文件](https://redefine-x-docs.jason-yang.top/zh/developer)。
|
package/TODO.md
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# Redefine-X 待办事项
|
|
2
|
+
|
|
3
|
+
## 📋 概述
|
|
4
|
+
|
|
5
|
+
本文档记录了 Redefine-X 主题还需要完成的工作和优化事项。
|
|
6
|
+
|
|
7
|
+
## ✅ 已完成
|
|
8
|
+
|
|
9
|
+
- [x] 修改所有README文件(英文、中文简体、中文繁体)
|
|
10
|
+
- [x] 更新package.json中的仓库信息和作者信息
|
|
11
|
+
- [x] 更新_config.yml配置文件头部信息
|
|
12
|
+
- [x] 修改footer.ejs中的主题链接
|
|
13
|
+
- [x] 更新welcome.js中的欢迎信息和花字
|
|
14
|
+
- [x] 基本文档链接更新
|
|
15
|
+
|
|
16
|
+
## 🔄 需要完成的重要事项
|
|
17
|
+
|
|
18
|
+
### 1. 📦 发布NPM Package
|
|
19
|
+
|
|
20
|
+
**优先级:高**
|
|
21
|
+
|
|
22
|
+
当前主题尚未发布到npm,用户只能通过git clone方式安装。
|
|
23
|
+
|
|
24
|
+
**待办:**
|
|
25
|
+
- [ ] 准备npm发布配置
|
|
26
|
+
- [ ] 创建npm账号(如果还没有)
|
|
27
|
+
- [ ] 发布第一个版本到npm:`hexo-theme-redefine-x`
|
|
28
|
+
- [ ] 更新README中的安装说明,添加npm安装方式:
|
|
29
|
+
```sh
|
|
30
|
+
npm install hexo-theme-redefine-x@latest
|
|
31
|
+
```
|
|
32
|
+
- [ ] 在package.json中确保npm发布配置正确
|
|
33
|
+
- [ ] 创建GitHub Release与npm版本同步
|
|
34
|
+
|
|
35
|
+
**参考资料:**
|
|
36
|
+
- npm发布指南:https://docs.npmjs.com/cli/v8/commands/npm-publish
|
|
37
|
+
- 语义化版本:https://semver.org/lang/zh-CN/
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
### 2. 💖 创建Donation/Sponsorship文档
|
|
42
|
+
|
|
43
|
+
**优先级:中**
|
|
44
|
+
|
|
45
|
+
当前DONATION.md仍包含原作者的赞助信息,需要创建自己的赞助页面或移除。
|
|
46
|
+
|
|
47
|
+
**待办:**
|
|
48
|
+
- [X] 如果不接受赞助:
|
|
49
|
+
- [X] 删除DONATION.md文件
|
|
50
|
+
- [X] 从README中移除所有赞助相关内容
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### 3. 🖼️ 更新主题渲染图片
|
|
55
|
+
|
|
56
|
+
**优先级:中**
|
|
57
|
+
|
|
58
|
+
当前README中使用的仍是原作者的主题截图和渲染图片。
|
|
59
|
+
|
|
60
|
+
**图片列表(需要更新):**
|
|
61
|
+
|
|
62
|
+
#### GitHub资源(原作者账号)
|
|
63
|
+
以下图片链接到 `https://github.com/EvanNotFound/hexo-theme-redefine/assets/...`:
|
|
64
|
+
|
|
65
|
+
- [ ] Logo图片:
|
|
66
|
+
- `assets/68590232/f2ff10f6-a740-4120-ba04-1b2a518fb019`
|
|
67
|
+
|
|
68
|
+
- [ ] 主题截图(深色模式):
|
|
69
|
+
- `assets/68590232/337c1801-7a59-45af-a02a-583508be69a5`
|
|
70
|
+
|
|
71
|
+
- [ ] 主题截图(浅色模式):
|
|
72
|
+
- `assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989`
|
|
73
|
+
|
|
74
|
+
- [ ] 页面展示图(深色模式):
|
|
75
|
+
- `assets/68590232/5d51b48d-7b08-4da0-a304-933424739203`
|
|
76
|
+
|
|
77
|
+
- [ ] 页面展示图(浅色模式):
|
|
78
|
+
- `assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4`
|
|
79
|
+
|
|
80
|
+
**操作步骤:**
|
|
81
|
+
1. [ ] 在自己的博客或测试站点上截取主题效果图
|
|
82
|
+
2. [ ] 准备以下图片:
|
|
83
|
+
- 主题Banner图(用于README顶部)
|
|
84
|
+
- 首页截图(深色和浅色模式各一张)
|
|
85
|
+
- 文章页截图(深色和浅色模式各一张)
|
|
86
|
+
- 其他特色功能截图
|
|
87
|
+
3. [ ] 上传到自己的GitHub仓库的assets或创建独立的图床
|
|
88
|
+
4. [ ] 更新所有README文件中的图片链接
|
|
89
|
+
5. [ ] 考虑创建自己的Logo(可选)
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### 4. 🌐 CDN链接更新
|
|
94
|
+
|
|
95
|
+
**优先级:低-中**
|
|
96
|
+
|
|
97
|
+
代码中仍使用原主题的CDN链接,虽然暂时可用但建议更新。
|
|
98
|
+
|
|
99
|
+
**CDN链接位置(在 scripts/helpers/theme-helpers.js):**
|
|
100
|
+
|
|
101
|
+
```javascript
|
|
102
|
+
// 当前使用的CDN providers
|
|
103
|
+
{
|
|
104
|
+
zhCDN: "https://s4.zstatic.net/ajax/libs/hexo-theme-redefine/:version/:path",
|
|
105
|
+
cdnjs: "https://cdnjs.cloudflare.com/ajax/libs/hexo-theme-redefine/:version/:path",
|
|
106
|
+
unpkg: "https://unpkg.com/hexo-theme-redefine@:version/source/:path",
|
|
107
|
+
jsdelivr: "https://cdn.jsdelivr.net/npm/hexo-theme-redefine@:version/source/:path",
|
|
108
|
+
evanCDN: "https://evan.beee.top/projects/hexo-theme-redefine@:version/source/:path",
|
|
109
|
+
npmMirror: "https://registry.npmmirror.com/hexo-theme-redefine/:version/files/source/:path",
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**待办:**
|
|
114
|
+
- [ ] 决定CDN策略:
|
|
115
|
+
- 选项1:发布npm后使用unpkg/jsdelivr(自动同步npm)
|
|
116
|
+
- 选项2:使用GitHub Pages作为CDN
|
|
117
|
+
- 选项3:使用自己的CDN服务
|
|
118
|
+
- [ ] 更新theme-helpers.js中的CDN链接
|
|
119
|
+
- [ ] 测试CDN链接可用性
|
|
120
|
+
- [ ] 更新配置文档
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
### 5. 📚 文档站点
|
|
125
|
+
|
|
126
|
+
**优先级:高**
|
|
127
|
+
|
|
128
|
+
文档链接已更新为 `https://redefine-x-docs.jason-yang.top/zh`,需要确保文档站点正常运行。
|
|
129
|
+
|
|
130
|
+
**待办:**
|
|
131
|
+
- [ ] 确认文档站点已部署并可访问
|
|
132
|
+
- [ ] Fork或复制原主题文档并进行定制化修改
|
|
133
|
+
- [ ] 更新所有文档中的链接和示例
|
|
134
|
+
- [ ] 添加Redefine-X特有功能的文档
|
|
135
|
+
- [ ] 配置域名和SSL证书
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
### 6. 📝 其他细节修改
|
|
140
|
+
|
|
141
|
+
#### 6.1 代码注释更新
|
|
142
|
+
**优先级:低**
|
|
143
|
+
|
|
144
|
+
- [ ] 检查并更新所有JavaScript文件头部的作者信息
|
|
145
|
+
- [X] 更新license声明中的作者名称
|
|
146
|
+
- [ ] 搜索并替换代码注释中遗留的原作者信息
|
|
147
|
+
|
|
148
|
+
#### 6.2 配置文件注释
|
|
149
|
+
**优先级:低**
|
|
150
|
+
|
|
151
|
+
- [X] 检查_config.yml中所有注释
|
|
152
|
+
- [X] 更新配置文档链接
|
|
153
|
+
- [X] 添加Redefine-X特有配置的说明
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 🔍 需要验证的内容
|
|
158
|
+
|
|
159
|
+
### 检查清单
|
|
160
|
+
|
|
161
|
+
- [X] 所有README中的链接都已更新且可访问
|
|
162
|
+
- [X] package.json中的信息完整且正确
|
|
163
|
+
- [X] _config.yml示例配置可用
|
|
164
|
+
- [X] 主题可以正常安装和使用
|
|
165
|
+
- [X] Footer中的版权信息正确
|
|
166
|
+
- [X] 没有遗留原作者的广告内容
|
|
167
|
+
- [X] 所有文档链接指向正确的位置
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## 📅 版本规划
|
|
172
|
+
|
|
173
|
+
### v2.9.0 (当前版本)
|
|
174
|
+
基于hexo-theme-redefine v2.9.0的定制版本
|
|
175
|
+
|
|
176
|
+
**功能现状:**
|
|
177
|
+
- ✅ 保留所有原有功能
|
|
178
|
+
- ✅ 更新branding和链接
|
|
179
|
+
- ✅ 移除原作者广告内容
|
|
180
|
+
|
|
181
|
+
### v2.9.1 (计划)
|
|
182
|
+
**目标:**
|
|
183
|
+
- 完成npm发布
|
|
184
|
+
- 更新所有图片资源
|
|
185
|
+
- 完善文档站点
|
|
186
|
+
|
|
187
|
+
### v2.10.0 (计划)
|
|
188
|
+
**目标:**
|
|
189
|
+
- 添加Redefine-X特有的自定义功能
|
|
190
|
+
- 优化性能
|
|
191
|
+
- 增强用户体验
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## 📧 联系方式
|
|
196
|
+
|
|
197
|
+
如有问题或建议,请通过以下方式联系:
|
|
198
|
+
|
|
199
|
+
- **Email:** jiepengyang@outlook.com
|
|
200
|
+
- **GitHub Issues:** https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X/issues
|
|
201
|
+
- **Blog:** https://blog.jason-yang.top
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## 📜 许可证
|
|
206
|
+
|
|
207
|
+
Copyright © 2025-2026 Jason-JP-Yang
|
|
208
|
+
|
|
209
|
+
本项目基于 GPL-3.0 许可证开源。
|
|
210
|
+
|
|
211
|
+
基于 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine) by EvanNotFound 开发。
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
**最后更新:** 2026-01-06
|