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/_config.yml
ADDED
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
2
|
+
# THEME REDEFINE-X CONFIGURATION FILE V2
|
|
3
|
+
# BY JASON-JP-YANG
|
|
4
|
+
# GITHUB: https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X
|
|
5
|
+
# DOCUMENTATION: https://redefine-x-docs.jason-yang.top/zh
|
|
6
|
+
# DEMO: https://blog.jason-yang.top
|
|
7
|
+
# BASED ON: hexo-theme-redefine by EvanNotFound
|
|
8
|
+
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# BASIC INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
12
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/basic/info
|
|
13
|
+
info:
|
|
14
|
+
# Site title
|
|
15
|
+
title: Theme Redefine-X
|
|
16
|
+
# Site subtitle
|
|
17
|
+
subtitle: Redefine Your Hexo Journey.
|
|
18
|
+
# Author name
|
|
19
|
+
author: Jason-JP-Yang
|
|
20
|
+
# Site URL
|
|
21
|
+
url: https://blog.jason-yang.top
|
|
22
|
+
# BASIC INFORMATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# IMAGE CONFIGURATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
26
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/basic/defaults
|
|
27
|
+
defaults:
|
|
28
|
+
# Favicon
|
|
29
|
+
favicon: /images/redefine-favicon.svg
|
|
30
|
+
# Site logo
|
|
31
|
+
logo:
|
|
32
|
+
# Site avatar
|
|
33
|
+
avatar: /images/redefine-avatar.svg
|
|
34
|
+
# IMAGE CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# COLORS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
38
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/basic/colors
|
|
39
|
+
colors:
|
|
40
|
+
#Primary color
|
|
41
|
+
primary: "#A31F34"
|
|
42
|
+
# Secondary color (TBD)
|
|
43
|
+
secondary:
|
|
44
|
+
# Default theme mode initial value (will be overwritten by prefer-color-scheme)
|
|
45
|
+
default_mode: light # light, dark
|
|
46
|
+
# COLORS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# SITE CUSTOMIZATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
50
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/basic/global
|
|
51
|
+
global:
|
|
52
|
+
# Custom global fonts
|
|
53
|
+
fonts:
|
|
54
|
+
# Chinese fonts
|
|
55
|
+
chinese:
|
|
56
|
+
enable: false # Whether to enable custom chinese fonts
|
|
57
|
+
family: # Font family
|
|
58
|
+
url: # Font URL to CSS file
|
|
59
|
+
# English fonts
|
|
60
|
+
english:
|
|
61
|
+
enable: false # Whether to enable custom english fonts
|
|
62
|
+
family: # Font family
|
|
63
|
+
url: # Font URL to CSS file
|
|
64
|
+
# Custom title fonts (navbar, sidebar)
|
|
65
|
+
title:
|
|
66
|
+
enable: false # Whether to enable custom title fonts
|
|
67
|
+
family: # Font family
|
|
68
|
+
url: # Font URL to CSS file
|
|
69
|
+
# Content max width
|
|
70
|
+
content_max_width: 1000px
|
|
71
|
+
# Sidebar width
|
|
72
|
+
sidebar_width: 210px
|
|
73
|
+
# Effects on mouse hover
|
|
74
|
+
hover:
|
|
75
|
+
shadow: true # shadow effect
|
|
76
|
+
scale: false # scale effect
|
|
77
|
+
# Scroll progress
|
|
78
|
+
scroll_progress:
|
|
79
|
+
bar: false # progress bar
|
|
80
|
+
percentage: true # percentage
|
|
81
|
+
# Website counter
|
|
82
|
+
website_counter:
|
|
83
|
+
url: https://cn.vercount.one/js # counter API URL (no need to change)
|
|
84
|
+
enable: true # enable website counter or not
|
|
85
|
+
site_pv: true # site page view
|
|
86
|
+
site_uv: true # site unique visitor
|
|
87
|
+
post_pv: true # post page view
|
|
88
|
+
# Whether to enable single page experience (using swup). See https://swup.js.org/. similar to pjax
|
|
89
|
+
single_page: true
|
|
90
|
+
# Whether to enable Preloader.
|
|
91
|
+
preloader:
|
|
92
|
+
enable: false
|
|
93
|
+
custom_message: # Custom message. If empty, the site title will be displayed
|
|
94
|
+
# Side tools settings
|
|
95
|
+
side_tools:
|
|
96
|
+
# Whether to enable gear rotation animation for settings button
|
|
97
|
+
gear_rotation: true
|
|
98
|
+
# Whether to auto expand tools list on page load
|
|
99
|
+
auto_expand: false
|
|
100
|
+
# Whether to enable open graph
|
|
101
|
+
open_graph:
|
|
102
|
+
enable: true
|
|
103
|
+
image: /images/redefine-og.webp # default og:image
|
|
104
|
+
description: Hexo Theme Redefine, Redefine Your Hexo Journey.
|
|
105
|
+
# Google Analytics
|
|
106
|
+
google_analytics:
|
|
107
|
+
enable: false # Whether to enable Google Analytics
|
|
108
|
+
id: # Google Analytics Measurement ID
|
|
109
|
+
# SITE CUSTOMIZATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# FONTAWESOME >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
113
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/basic/fontawesome
|
|
114
|
+
fontawesome: # Pro v6.2.1
|
|
115
|
+
# Thin version
|
|
116
|
+
thin: false
|
|
117
|
+
# Light version
|
|
118
|
+
light: false
|
|
119
|
+
# Duotone version
|
|
120
|
+
duotone: false
|
|
121
|
+
# Sharp Solid version
|
|
122
|
+
sharp_solid: false
|
|
123
|
+
# FONTAWESOME <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
# HOME BANNER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
127
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/home/home_banner
|
|
128
|
+
home_banner:
|
|
129
|
+
# Whether to enable home banner
|
|
130
|
+
enable: true
|
|
131
|
+
# style of home banner
|
|
132
|
+
style: fixed # static or fixed
|
|
133
|
+
# Home banner image
|
|
134
|
+
image:
|
|
135
|
+
light: /images/wallhaven-wqery6-light.webp # light mode
|
|
136
|
+
dark: /images/wallhaven-wqery6-dark.webp # dark mode
|
|
137
|
+
# Home banner title
|
|
138
|
+
title: Theme Redefine
|
|
139
|
+
# Home banner subtitle
|
|
140
|
+
subtitle:
|
|
141
|
+
text: [] # subtitle text, array
|
|
142
|
+
hitokoto: # 一言配置
|
|
143
|
+
enable: false # Whether to enable hitokoto
|
|
144
|
+
show_author: false # Whether to show author
|
|
145
|
+
api: https://v1.hitokoto.cn # API URL, can add types, see https://developer.hitokoto.cn/sentence/#%E5%8F%A5%E5%AD%90%E7%B1%BB%E5%9E%8B-%E5%8F%82%E6%95%B0
|
|
146
|
+
typing_speed: 100 # Typing speed (ms)
|
|
147
|
+
backing_speed: 80 # Backing speed (ms)
|
|
148
|
+
starting_delay: 500 # Start delay (ms)
|
|
149
|
+
backing_delay: 1500 # Backing delay (ms)
|
|
150
|
+
loop: true # Whether to loop
|
|
151
|
+
smart_backspace: true # Whether to smart backspace
|
|
152
|
+
# Color of home banner text
|
|
153
|
+
text_color:
|
|
154
|
+
light: "#fff" # light mode
|
|
155
|
+
dark: "#d1d1b6" # dark mode
|
|
156
|
+
# Specific style of the text
|
|
157
|
+
text_style:
|
|
158
|
+
# Title font size
|
|
159
|
+
title_size: 2.8rem
|
|
160
|
+
# Subtitle font size
|
|
161
|
+
subtitle_size: 1.5rem
|
|
162
|
+
# Line height between title and subtitle
|
|
163
|
+
line_height: 1.2
|
|
164
|
+
# Home banner custom font
|
|
165
|
+
custom_font:
|
|
166
|
+
# Whether to enable custom font
|
|
167
|
+
enable: false
|
|
168
|
+
# Font family
|
|
169
|
+
family:
|
|
170
|
+
# URL to font CSS file
|
|
171
|
+
url:
|
|
172
|
+
# Home banner social links
|
|
173
|
+
social_links:
|
|
174
|
+
# Whether to enable
|
|
175
|
+
enable: false
|
|
176
|
+
# Social links style
|
|
177
|
+
style: default # default, reverse, center
|
|
178
|
+
# Social links
|
|
179
|
+
links:
|
|
180
|
+
github: # your GitHub URL
|
|
181
|
+
instagram: # your Instagram URL
|
|
182
|
+
zhihu: # your ZhiHu URL
|
|
183
|
+
twitter: # your twitter URL
|
|
184
|
+
email: # your email
|
|
185
|
+
# ...... # you can add more
|
|
186
|
+
# Social links with QRcode drawers
|
|
187
|
+
qrs:
|
|
188
|
+
weixin: # your Wechat QRcode image URL
|
|
189
|
+
# ...... # you can add more
|
|
190
|
+
# HOME BANNER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
# NAVIGATION BAR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
194
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/home/navbar
|
|
195
|
+
navbar:
|
|
196
|
+
# Auto hide navbar
|
|
197
|
+
auto_hide: false
|
|
198
|
+
# Navbar background color
|
|
199
|
+
color:
|
|
200
|
+
left: "#f78736" #left side
|
|
201
|
+
right: "#367df7" #right side
|
|
202
|
+
transparency: 35 #percent (10-99)
|
|
203
|
+
# Navbar width (usually no need to modify)
|
|
204
|
+
width:
|
|
205
|
+
home: 1200px #home page
|
|
206
|
+
pages: 1000px #other pages
|
|
207
|
+
# Navbar links
|
|
208
|
+
links:
|
|
209
|
+
Home:
|
|
210
|
+
path: /
|
|
211
|
+
icon: fa-regular fa-house # can be empty
|
|
212
|
+
# Archives:
|
|
213
|
+
# path: /archives
|
|
214
|
+
# icon: fa-regular fa-archive # can be empty
|
|
215
|
+
# Status:
|
|
216
|
+
# path: https://status.jason-yang.top/
|
|
217
|
+
# icon: fa-regular fa-chart-bar
|
|
218
|
+
# About:
|
|
219
|
+
# icon: fa-regular fa-user
|
|
220
|
+
# submenus:
|
|
221
|
+
# Me: /about
|
|
222
|
+
# Github: https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X
|
|
223
|
+
# Blog: https://blog.jason-yang.top
|
|
224
|
+
# Friends: /friends
|
|
225
|
+
# Links:
|
|
226
|
+
# icon: fa-regular fa-link
|
|
227
|
+
# submenus:
|
|
228
|
+
# Link1: /link1
|
|
229
|
+
# Link2: /link2
|
|
230
|
+
# Link3: /link3
|
|
231
|
+
# ...... # you can add more
|
|
232
|
+
# Navbar search (local search). Requires hexo-generator-searchdb (npm i hexo-generator-searchdb). See https://github.com/theme-next/hexo-generator-searchdb
|
|
233
|
+
search:
|
|
234
|
+
# Whether to enable
|
|
235
|
+
enable: false
|
|
236
|
+
# Preload search data when the page loads
|
|
237
|
+
preload: true
|
|
238
|
+
# NAVIGATION BAR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
# HOME PAGE ARTICLE SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
242
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/home/home
|
|
243
|
+
home:
|
|
244
|
+
# Sidebar settings
|
|
245
|
+
sidebar:
|
|
246
|
+
enable: true # Whether to enable sidebar
|
|
247
|
+
position: left # Sidebar position. left, right
|
|
248
|
+
first_item: menu # First item in sidebar. menu, info
|
|
249
|
+
announcement: # Announcement text
|
|
250
|
+
show_on_mobile: true # Whether to show sidebar navigation on mobile sheet menu
|
|
251
|
+
links:
|
|
252
|
+
# Archives:
|
|
253
|
+
# path: /archives
|
|
254
|
+
# icon: fa-regular fa-archive # can be empty
|
|
255
|
+
# Tags:
|
|
256
|
+
# path: /tags
|
|
257
|
+
# icon: fa-regular fa-tags # can be empty
|
|
258
|
+
# Categories:
|
|
259
|
+
# path: /categories
|
|
260
|
+
# icon: fa-regular fa-folder # can be empty
|
|
261
|
+
# ...... # you can add more
|
|
262
|
+
# Article date format
|
|
263
|
+
article_date_format: auto # auto, relative, YYYY-MM-DD, YYYY-MM-DD HH:mm:ss etc.
|
|
264
|
+
# Article excerpt length
|
|
265
|
+
excerpt_length: 200 # Max length of article excerpt
|
|
266
|
+
# Article categories visibility
|
|
267
|
+
categories:
|
|
268
|
+
enable: true # Whether to enable
|
|
269
|
+
limit: 3 # Max number of categories to display
|
|
270
|
+
# Article tags visibility
|
|
271
|
+
tags:
|
|
272
|
+
enable: true # Whether to enable
|
|
273
|
+
limit: 3 # Max number of tags to display
|
|
274
|
+
# HOME PAGE ARTICLE SETTINGS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
# ARTICLE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
278
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/posts/articles
|
|
279
|
+
articles:
|
|
280
|
+
# Set the styles of the article
|
|
281
|
+
style:
|
|
282
|
+
font_size: 16px # Font size
|
|
283
|
+
line_height: 1.5 # Line height
|
|
284
|
+
image_border_radius: 14px # image border radius
|
|
285
|
+
image_alignment: center # image alignment. left, center
|
|
286
|
+
image_caption: false # Whether to display image caption
|
|
287
|
+
link_icon: true # Whether to display link icon
|
|
288
|
+
delete_mask: false # Add mask effect to <del> tags, hiding content by default and revealing on hover
|
|
289
|
+
title_alignment: left # Title alignment. left, center
|
|
290
|
+
headings_top_spacing: # Top spacing for headings from h1-h6
|
|
291
|
+
h1: 3.2rem
|
|
292
|
+
h2: 2.4rem
|
|
293
|
+
h3: 1.9rem
|
|
294
|
+
h4: 1.6rem
|
|
295
|
+
h5: 1.4rem
|
|
296
|
+
h6: 1.3rem
|
|
297
|
+
# Word count. Requires hexo-wordcount (npm install hexo-wordcount). See https://github.com/willin/hexo-wordcount
|
|
298
|
+
word_count:
|
|
299
|
+
enable: true # Whether to enable
|
|
300
|
+
count: true # Whether to display word count
|
|
301
|
+
min2read: true # Whether to display reading time
|
|
302
|
+
# Author label
|
|
303
|
+
author_label:
|
|
304
|
+
enable: true # Whether to enable
|
|
305
|
+
auto: false # Whether to automatically add author label, e.g. Lv1, Lv2, Lv3...
|
|
306
|
+
list: []
|
|
307
|
+
# Code block settings
|
|
308
|
+
code_block:
|
|
309
|
+
copy: true # Whether to enable code block copy button
|
|
310
|
+
style: mac # mac | simple
|
|
311
|
+
highlight_theme: # Color scheme for highlightjs code highlighting. For preview, see https://highlightjs.org/examples
|
|
312
|
+
light: github # light mode theme, support: github, atom-one-light, default
|
|
313
|
+
dark: vs2015 # dark mode theme, support: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate
|
|
314
|
+
font: # Custom font
|
|
315
|
+
enable: false # Whether to enable
|
|
316
|
+
family: # Font family
|
|
317
|
+
url: # Font URL to CSS file
|
|
318
|
+
# Table of contents settings
|
|
319
|
+
toc:
|
|
320
|
+
enable: true # Whether to enable TOC
|
|
321
|
+
max_depth: 3 # TOC depth
|
|
322
|
+
number: false # Whether to add number to TOC automatically
|
|
323
|
+
expand: true # Whether to expand TOC
|
|
324
|
+
init_open: true # Open toc by default
|
|
325
|
+
# Whether to enable copyright notice
|
|
326
|
+
copyright:
|
|
327
|
+
enable: true # Whether to enable
|
|
328
|
+
default: cc_by_nc_sa # Default license, can be cc_by_nc_sa, cc_by_nd, cc_by_nc, cc_by_sa, cc_by, all_rights_reserved, public_domain
|
|
329
|
+
# Whether to enable lazyload for images
|
|
330
|
+
lazyload: true
|
|
331
|
+
# Pangu.js (automatically add space between Chinese and English). See https://github.com/vinta/pangu.js
|
|
332
|
+
pangu_js: false
|
|
333
|
+
# Article recommendation. Requires @node-rs/jieba (npm install @node-rs/jieba). Transplanted from hexo-theme-volantis.
|
|
334
|
+
recommendation:
|
|
335
|
+
# Whether to enable article recommendation
|
|
336
|
+
enable: false
|
|
337
|
+
# Article recommendation title
|
|
338
|
+
title: 推荐阅读
|
|
339
|
+
# Max number of articles to display
|
|
340
|
+
limit: 3
|
|
341
|
+
# Max number of articles to display mobile
|
|
342
|
+
mobile_limit: 2
|
|
343
|
+
# Placeholder image
|
|
344
|
+
placeholder: /images/wallhaven-wqery6-light.webp
|
|
345
|
+
# Skip directory
|
|
346
|
+
skip_dirs: []
|
|
347
|
+
# ARTICLE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
# COMMENT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
351
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/posts/comment
|
|
352
|
+
comment:
|
|
353
|
+
# Whether to enable comment
|
|
354
|
+
enable: true
|
|
355
|
+
# Comment system
|
|
356
|
+
system: waline # waline, gitalk, twikoo, giscus
|
|
357
|
+
# System configuration
|
|
358
|
+
config:
|
|
359
|
+
# Waline comment system. See https://waline.js.org/
|
|
360
|
+
waline:
|
|
361
|
+
serverUrl: https://example.example.com # Waline server URL. e.g. https://example.example.com
|
|
362
|
+
lang: zh-CN # Waline language. e.g. zh-CN, en-US. See https://waline.js.org/guide/client/i18n.html
|
|
363
|
+
emoji: [] # Waline emojis, see https://waline.js.org/guide/features/emoji.html
|
|
364
|
+
recaptchaV3Key: # Google reCAPTCHA v3 key. See https://waline.js.org/reference/client/props.html#recaptchav3key
|
|
365
|
+
turnstileKey: # Turnstile key. See https://waline.js.org/reference/client/props.html#turnstilekey
|
|
366
|
+
reaction: false # Waline reaction. See https://waline.js.org/reference/client/props.html#reaction
|
|
367
|
+
# Gitalk comment system. See https://github.com/gitalk/gitalk
|
|
368
|
+
gitalk:
|
|
369
|
+
clientID: # GitHub Application Client ID
|
|
370
|
+
clientSecret: # GitHub Application Client Secret
|
|
371
|
+
repo: # GitHub repository
|
|
372
|
+
owner: # GitHub repository owner
|
|
373
|
+
proxy: # GitHub repository proxy
|
|
374
|
+
# Twikoo comment system. See https://twikoo.js.org/
|
|
375
|
+
twikoo:
|
|
376
|
+
version: 1.6.10 # Twikoo version, do not modify if you dont know what it is
|
|
377
|
+
server_url: # Twikoo server URL. e.g. https://example.example.com
|
|
378
|
+
region: # Twikoo region. can be empty
|
|
379
|
+
# Giscus comment system. See https://giscus.app/
|
|
380
|
+
giscus:
|
|
381
|
+
repo: # Github repository name e.g. EvanNotFound/hexo-theme-redefine
|
|
382
|
+
repo_id: # Github repository id
|
|
383
|
+
category: # Github discussion category
|
|
384
|
+
category_id: # Github discussion category id
|
|
385
|
+
mapping: pathname # Which value to use as the unique identifier for the page. e.g. pathname, url, title, og:title. DO NOT USE og:title WITH PJAX ENABLED since pjax will not update og:title when the page changes
|
|
386
|
+
strict: 0 # Whether to enable strict mode. e.g. 0, 1
|
|
387
|
+
reactions_enabled: 1 # Whether to enable reactions. e.g. 0, 1
|
|
388
|
+
emit_metadata: 0 # Whether to emit metadata. e.g. 0, 1
|
|
389
|
+
lang: en # Giscus language. e.g. en, zh-CN, zh-TW
|
|
390
|
+
input_position: bottom # Place the comment box above/below the comments. e.g. top, bottom
|
|
391
|
+
loading: lazy # Load the comments lazily
|
|
392
|
+
# COMMENT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
# FOOTER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
396
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/footer
|
|
397
|
+
footer:
|
|
398
|
+
# Show website running time
|
|
399
|
+
runtime: true # show website running time or not
|
|
400
|
+
# Icon in footer, write fontawesome icon code here
|
|
401
|
+
icon: '<i class="fa-solid fa-heart fa-beat" style="--fa-animation-duration: 0.5s; color: #f54545"></i>'
|
|
402
|
+
# The start time of the website, format: YYYY/MM/DD HH:mm:ss
|
|
403
|
+
start: 2022/8/17 11:45:14
|
|
404
|
+
# Site statistics
|
|
405
|
+
statistics: true # show site statistics or not (total articles, total words)
|
|
406
|
+
# Footer message
|
|
407
|
+
customize:
|
|
408
|
+
# ICP record number. See https://beian.miit.gov.cn/
|
|
409
|
+
icp:
|
|
410
|
+
enable: false # Whether to enable
|
|
411
|
+
number: # ICP record number
|
|
412
|
+
url: # ICP record url
|
|
413
|
+
# FOOTER <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
# INJECT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
417
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/inject
|
|
418
|
+
inject:
|
|
419
|
+
# Whether to enable inject
|
|
420
|
+
enable: false
|
|
421
|
+
# Inject custom head html code
|
|
422
|
+
head:
|
|
423
|
+
-
|
|
424
|
+
-
|
|
425
|
+
# Inject custom footer html code
|
|
426
|
+
footer:
|
|
427
|
+
-
|
|
428
|
+
-
|
|
429
|
+
# INJECT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
# PLUGINS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
433
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/plugins
|
|
434
|
+
plugins:
|
|
435
|
+
# RSS feed. Requires hexo-generator-feed (npm i hexo-generator-feed). See https://github.com/hexojs/hexo-generator-feed
|
|
436
|
+
feed:
|
|
437
|
+
enable: false # Whether to enable
|
|
438
|
+
# Aplayer. See https://github.com/DIYgod/APlayer
|
|
439
|
+
aplayer:
|
|
440
|
+
enable: false # Whether to enable
|
|
441
|
+
type: fixed # fixed, mini
|
|
442
|
+
audios:
|
|
443
|
+
- name: # audio name
|
|
444
|
+
artist: # audio artist
|
|
445
|
+
url: # audio url
|
|
446
|
+
cover: # audio cover url
|
|
447
|
+
lrc: # audio cover lrc
|
|
448
|
+
# - name: # audio name
|
|
449
|
+
# artist: # audio artist
|
|
450
|
+
# url: # audio url
|
|
451
|
+
# cover: # audio cover url
|
|
452
|
+
# lrc: # audio cover lrc
|
|
453
|
+
# .... you can add more audios here
|
|
454
|
+
# Mermaid JS. Requires hexo-filter-mermaid-diagrams (npm i hexo-filter-mermaid-diagrams). See https://mermaid.js.org/
|
|
455
|
+
mermaid:
|
|
456
|
+
enable: false # enable mermaid or not
|
|
457
|
+
version: "11.4.1" # default v11.4.1
|
|
458
|
+
# PLUGINS <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
# PAGE TEMPLATES >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
462
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/page_templates
|
|
463
|
+
page_templates:
|
|
464
|
+
# Friend Links page column number
|
|
465
|
+
friends_column: 2
|
|
466
|
+
# Tags page style
|
|
467
|
+
tags_style: blur # blur, cloud
|
|
468
|
+
# PAGE TEMPLATES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
# CDN >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
472
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/cdn
|
|
473
|
+
cdn:
|
|
474
|
+
# Whether to enable CDN
|
|
475
|
+
enable: false
|
|
476
|
+
# CDN Provider
|
|
477
|
+
provider: npmmirror # npmmirror, zstatic, cdnjs, jsdelivr, unpkg, custom
|
|
478
|
+
# Custom CDN URL
|
|
479
|
+
# format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path}
|
|
480
|
+
# The ${path} must leads to the root of the "source" folder of the theme
|
|
481
|
+
custom_url:
|
|
482
|
+
# CDN <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
|
483
|
+
|
|
484
|
+
# DEVELOPER MODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start
|
|
485
|
+
# Docs: https://redefine-x-docs.jason-yang.top/zh/developer
|
|
486
|
+
developer:
|
|
487
|
+
# Whether to enable developer mode (only for developers who want to modify the theme source code, not for ordinary users)
|
|
488
|
+
enable: false
|
|
489
|
+
# DEVELOPER MODE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end
|
package/languages/en.yml
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# ----------------------------------------
|
|
2
|
+
# Site Translation
|
|
3
|
+
# ----------------------------------------
|
|
4
|
+
search: Search...
|
|
5
|
+
toc: On this page
|
|
6
|
+
prev: Prev
|
|
7
|
+
next: Next
|
|
8
|
+
prev_posts: Prev posts
|
|
9
|
+
next_posts: Next posts
|
|
10
|
+
page: Page %d
|
|
11
|
+
recent_posts: Recent Posts
|
|
12
|
+
share: Share
|
|
13
|
+
powered_by: "POWERED BY %s"
|
|
14
|
+
theme: THEME
|
|
15
|
+
rss_feed: RSS Feed
|
|
16
|
+
category: Category
|
|
17
|
+
categories: Categories
|
|
18
|
+
tag: Tag
|
|
19
|
+
tags: Tags
|
|
20
|
+
post: Post
|
|
21
|
+
posts: Posts
|
|
22
|
+
tagcloud: Tag Cloud
|
|
23
|
+
comment: Comment
|
|
24
|
+
comments: Comments
|
|
25
|
+
home: Home
|
|
26
|
+
archive: Archive
|
|
27
|
+
archives: Archives
|
|
28
|
+
top: TOP
|
|
29
|
+
sticky: Sticky
|
|
30
|
+
go-back-home: Go Back Home
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# ----------------------------------------
|
|
34
|
+
# Menu Translation
|
|
35
|
+
# ----------------------------------------
|
|
36
|
+
about: About
|
|
37
|
+
changelog: Changelog
|
|
38
|
+
links: Links
|
|
39
|
+
link: Link
|
|
40
|
+
friends: Friends
|
|
41
|
+
friend: Friend
|
|
42
|
+
timeline: Timeline
|
|
43
|
+
shuoshuo: Shuoshuo
|
|
44
|
+
|
|
45
|
+
# ----------------------------------------
|
|
46
|
+
# Website count
|
|
47
|
+
# ----------------------------------------
|
|
48
|
+
site_uv: VISITOR COUNT
|
|
49
|
+
site_pv: TOTAL PAGE VIEWS
|
|
50
|
+
read_more: Read more
|
|
51
|
+
wordcount: Words
|
|
52
|
+
min2read: Mins
|
|
53
|
+
status: Status
|
|
54
|
+
|
|
55
|
+
# ----------------------------------------
|
|
56
|
+
# Footer
|
|
57
|
+
# ----------------------------------------
|
|
58
|
+
runtime: Blog up for
|
|
59
|
+
days: days
|
|
60
|
+
hours: hrs
|
|
61
|
+
minutes: Min
|
|
62
|
+
seconds: Sec
|
|
63
|
+
optimized_by: and Optimized by Evan
|
|
64
|
+
rights: All Rights Reserved
|
|
65
|
+
site_posts: "%s posts in total"
|
|
66
|
+
site_wordcount: "%s words in total"
|
|
67
|
+
|
|
68
|
+
# ----------------------------------------
|
|
69
|
+
# Post
|
|
70
|
+
# ----------------------------------------
|
|
71
|
+
copyright:
|
|
72
|
+
author: Author
|
|
73
|
+
title: Title
|
|
74
|
+
link: Link
|
|
75
|
+
create_time: Created at
|
|
76
|
+
update_time: Updated at
|
|
77
|
+
license_title: License
|
|
78
|
+
license_content: "This work is licensed under %s."
|
|
79
|
+
all_rights_reserved: "All Rights Reserved © %s"
|
|
80
|
+
public_domain: "This work is in the public domain."
|
|
81
|
+
|
|
82
|
+
ago:
|
|
83
|
+
second: "%s seconds ago"
|
|
84
|
+
minute: "%s minutes ago"
|
|
85
|
+
hour: "%s hours ago"
|
|
86
|
+
day: "%s days ago"
|
|
87
|
+
week: "%s weeks ago"
|
|
88
|
+
month: "%s months ago"
|
|
89
|
+
year: "%s years ago"
|
|
90
|
+
|
|
91
|
+
create_time: Created
|
|
92
|
+
update_time: Updated
|
|
93
|
+
expired: "This post is written %s days ago, and the content may not be up to date."
|
package/languages/es.yml
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# ----------------------------------------
|
|
2
|
+
# Traducción del sitio
|
|
3
|
+
# ----------------------------------------
|
|
4
|
+
search: Buscar...
|
|
5
|
+
toc: En esta página
|
|
6
|
+
prev: Anterior
|
|
7
|
+
next: Siguiente
|
|
8
|
+
prev_posts: Publicaciones anteriores
|
|
9
|
+
next_posts: Publicaciones siguientes
|
|
10
|
+
page: Página %d
|
|
11
|
+
recent_posts: Publicaciones recientes
|
|
12
|
+
share: Compartir
|
|
13
|
+
powered_by: "DESARROLLADO POR %s"
|
|
14
|
+
theme: TEMA
|
|
15
|
+
rss_feed: RSS Feed
|
|
16
|
+
category: Categoría
|
|
17
|
+
categories: Categorías
|
|
18
|
+
tag: Etiqueta
|
|
19
|
+
tags: Etiquetas
|
|
20
|
+
post: Publicación
|
|
21
|
+
posts: Publicaciones
|
|
22
|
+
tagcloud: Nube de etiquetas
|
|
23
|
+
comment: Comentario
|
|
24
|
+
comments: Comentarios
|
|
25
|
+
home: Inicio
|
|
26
|
+
archive: Archivo
|
|
27
|
+
archives: Archivos
|
|
28
|
+
top: PRINCIPAL
|
|
29
|
+
sticky: Fijado
|
|
30
|
+
go-back-home: Volver al inicio
|
|
31
|
+
|
|
32
|
+
# ----------------------------------------
|
|
33
|
+
# Traducción del menú
|
|
34
|
+
# ----------------------------------------
|
|
35
|
+
about: Acerca de
|
|
36
|
+
changelog: Registro de cambios
|
|
37
|
+
links: Enlaces
|
|
38
|
+
link: Enlace
|
|
39
|
+
friends: Amigos
|
|
40
|
+
friend: Amigo
|
|
41
|
+
timeline: Cronología
|
|
42
|
+
shuoshuo: Shuoshuo
|
|
43
|
+
|
|
44
|
+
# ----------------------------------------
|
|
45
|
+
# Contador del sitio
|
|
46
|
+
# ----------------------------------------
|
|
47
|
+
site_uv: CONTADOR DE VISITANTES
|
|
48
|
+
site_pv: TOTAL DE VISITAS
|
|
49
|
+
read_more: Leer más
|
|
50
|
+
wordcount: Palabras
|
|
51
|
+
min2read: Minutos
|
|
52
|
+
status: Estado
|
|
53
|
+
|
|
54
|
+
# ----------------------------------------
|
|
55
|
+
# Pie de página
|
|
56
|
+
# ----------------------------------------
|
|
57
|
+
runtime: Blog en línea por
|
|
58
|
+
days: días
|
|
59
|
+
hours: horas
|
|
60
|
+
minutes: Min
|
|
61
|
+
seconds: Seg
|
|
62
|
+
optimized_by: y optimizado por Evan
|
|
63
|
+
rights: Todos los derechos reservados
|
|
64
|
+
site_posts: "%s publicaciones en total"
|
|
65
|
+
site_wordcount: "%s palabras en total"
|
|
66
|
+
|
|
67
|
+
# ----------------------------------------
|
|
68
|
+
# Publicación
|
|
69
|
+
# ----------------------------------------
|
|
70
|
+
copyright:
|
|
71
|
+
author: Autor
|
|
72
|
+
title: Título
|
|
73
|
+
link: Enlace
|
|
74
|
+
create_time: Creado el
|
|
75
|
+
update_time: Actualizado el
|
|
76
|
+
license_title: Licencia
|
|
77
|
+
license_content: "Este trabajo está licenciado bajo %s."
|
|
78
|
+
all_rights_reserved: "Todos los derechos reservados © %s"
|
|
79
|
+
public_domain: "Este trabajo es de dominio público."
|
|
80
|
+
|
|
81
|
+
ago:
|
|
82
|
+
second: "hace %s segundos"
|
|
83
|
+
minute: "hace %s minutos"
|
|
84
|
+
hour: "hace %s horas"
|
|
85
|
+
day: "hace %s días"
|
|
86
|
+
week: "hace %s semanas"
|
|
87
|
+
month: "hace %s meses"
|
|
88
|
+
year: "hace %s años"
|
|
89
|
+
|
|
90
|
+
create_time: Creado
|
|
91
|
+
update_time: Actualizado
|
|
92
|
+
expired: "Esta publicación fue escrita hace %s días, el contenido puede no estar actualizado."
|