diff --git a/_config.redefine.yml b/_config.redefine.yml index 53b38f8..2b25cf5 100644 --- a/_config.redefine.yml +++ b/_config.redefine.yml @@ -46,7 +46,7 @@ colors: # SITE CUSTOMIZATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> start # Docs: https://redefine-docs.ohevan.com/basic/global global: - # Custom fonts + # Custom global fonts fonts: # Chinese fonts chinese: @@ -58,6 +58,11 @@ global: enable: false # Whether to enable custom english fonts family: # Font family url: # Font URL to CSS file + # Custom title fonts (navbar, sidebar) + title: + enable: false # Whether to enable custom title fonts + family: # Font family + url: # Font URL to CSS file # Content max width content_max_width: 1000px # Sidebar width @@ -80,7 +85,9 @@ global: # Whether to enable single page experience (using swup). See https://swup.js.org/. similar to pjax single_page: true # Whether to enable Preloader. - preloader: true + preloader: + enable: true + custom_message: # Custom message. If empty, the site title will be displayed # Whether to enable open graph open_graph: true # Google Analytics @@ -122,6 +129,7 @@ home_banner: text: ['Pwn everything!', 'Make C Great Again!', 'I just popped a shell.', 'Privilege escalation achieved.', 'ASLR bypassed.', 'FSOP chain deployed.'] # subtitle text, array hitokoto: # 一言配置 enable: false # Whether to enable hitokoto + show_author: false # Whether to show author 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 typing_speed: 100 # Typing speed (ms) backing_speed: 80 # Backing speed (ms) @@ -264,6 +272,8 @@ home: # ...... # you can add more # Article date format article_date_format: auto # auto, relative, YYYY-MM-DD, YYYY-MM-DD HH:mm:ss etc. + # Article excerpt length + excerpt_length: 200 # Max length of article excerpt # Article categories visibility categories: enable: true # Whether to enable @@ -308,6 +318,9 @@ articles: code_block: copy: true # Whether to enable code block copy button style: simple # mac | simple + highlight_theme: # Color scheme for highlightjs code highlighting. For preview, see https://highlightjs.org/examples + light: atom-one-light # light mode theme, support: github, atom-one-light, default + dark: atom-one-dark # dark mode theme, support: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate font: # Custom font enable: true # Whether to enable family: 'JetBrains Mono' # Font family @@ -469,7 +482,7 @@ cdn: # Whether to enable CDN enable: false # CDN Provider - provider: npmmirror # npmmirror, zstatic, sustech, staticfile, bootcdn, cdnjs, jsdelivr, unpkg, custom + provider: npmmirror # npmmirror, zstatic, sustech, cdnjs, jsdelivr, unpkg, custom # Custom CDN URL # format example: https://cdn.custom.com/hexo-theme-redefine/${version}/source/${path} # The ${path} must leads to the root of the "source" folder of the theme diff --git a/package-lock.json b/package-lock.json index d5c0e2b..e3b94ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "hexo-renderer-marked": "^6.3.0", "hexo-renderer-stylus": "^3.0.1", "hexo-server": "^3.0.0", - "hexo-theme-redefine": "^2.7.0" + "hexo-theme-redefine": "^2.7.1" } }, "node_modules/@adobe/css-tools": { @@ -1320,9 +1320,10 @@ } }, "node_modules/hexo-theme-redefine": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/hexo-theme-redefine/-/hexo-theme-redefine-2.7.0.tgz", - "integrity": "sha512-cQdTvmOlnLa+uNDBSSq+bMyzyw0+GF4yF2nUqA1nEX3Z+xgy5wkw8BdjHEGXMCDeDZ4oEZckZCEFLGoeA82q1w==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hexo-theme-redefine/-/hexo-theme-redefine-2.7.1.tgz", + "integrity": "sha512-XTa3GA5hNgylBOV1190FNijBEptwMo7C+xv7RaRMBtncGff1LArOl6mdwuIDxaO82kAL+ooA3hIbvoI3snZlFg==", + "license": "AGPL-3.0", "dependencies": { "postcss": "^8.4.28" } @@ -1742,9 +1743,9 @@ "license": "MIT" }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "license": "MIT", "dependencies": { "braces": "^3.0.3", diff --git a/package.json b/package.json index 0c39680..b9a5089 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,6 @@ "hexo-renderer-marked": "^6.3.0", "hexo-renderer-stylus": "^3.0.1", "hexo-server": "^3.0.0", - "hexo-theme-redefine": "^2.7.0" + "hexo-theme-redefine": "^2.7.1" } }