This commit is contained in:
mozzie 2023-12-25 15:40:45 +08:00
parent ba9f35b7df
commit aca15a6637
6 changed files with 95 additions and 68 deletions

View File

@ -1,18 +1,13 @@
# support svg or image url, such as /img/favicon.png # support svg or image url, such as /img/favicon.png
favicon: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 7h1a2 2 0 0 1 2 2v.5a.5.5 0 0 0 .5.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5a.5.5 0 0 0-.5.5v.5a2 2 0 0 1-2 2h-2"></path><path d="M8 7H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1"></path><path d="M12 8l-2 4h3l-2 4"></path></g></svg> favicon: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 7h1a2 2 0 0 1 2 2v.5a.5.5 0 0 0 .5.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5a.5.5 0 0 0-.5.5v.5a2 2 0 0 1-2 2h-2"></path><path d="M8 7H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1"></path><path d="M12 8l-2 4h3l-2 4"></path></g></svg>
color: hsl(238,50%,56%)
# required = false # required = false
icp: 苏ICP备19008833号-4 icp: 苏ICP备19008833号-4
motto: true
search: true search: true
# Copyright statement at the bottom of the post
postCopyright:
enable: true
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
nav_meta: nav_meta:
timeline: timeline:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">

View File

@ -43,19 +43,29 @@ render_drafts: false
post_asset_folder: false post_asset_folder: false
relative_link: false relative_link: false
future: true future: true
highlight:
enable: false # v7.0.0
line_number: true syntax_highlighter: prismjs
auto_detect: false
tab_replace: ""
wrap: true
hljs: false
prismjs: prismjs:
enable: true
preprocess: true preprocess: true
line_number: true line_number: true
line_threshold: 0 line_threshold: 0
tab_replace: "" tab_replace: ''
# v6.3.0
# highlight:
# enable: false
# line_number: true
# auto_detect: false
# tab_replace: ""
# wrap: true
# hljs: false
# prismjs:
# enable: true
# preprocess: true
# line_number: true
# line_threshold: 0
# tab_replace: ""
# Home page setting # Home page setting
# path: Root path for your blogs index page. (default = '') # path: Root path for your blogs index page. (default = '')

View File

@ -9,11 +9,8 @@
"d": "node ./ci.js", "d": "node ./ci.js",
"server": "hexo server" "server": "hexo server"
}, },
"hexo": {
"version": "6.3.0"
},
"dependencies": { "dependencies": {
"hexo": "^6.3.0", "hexo": "7.0.0",
"hexo-algoliasearch-next": "1.0.2", "hexo-algoliasearch-next": "1.0.2",
"hexo-generator-archive": "^2.0.0", "hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0", "hexo-generator-category": "^2.0.0",
@ -23,7 +20,7 @@
"hexo-renderer-marked": "^6.0.0", "hexo-renderer-marked": "^6.0.0",
"hexo-renderer-stylus": "^2.1.0", "hexo-renderer-stylus": "^2.1.0",
"hexo-server": "^3.0.0", "hexo-server": "^3.0.0",
"hexo-theme-cosy": "^1.4.4", "hexo-theme-cosy": "^2.0.0",
"hexo-theme-landscape": "^1.0.0" "hexo-theme-landscape": "^1.0.0"
} }
} }

View File

@ -6,8 +6,8 @@ settings:
dependencies: dependencies:
hexo: hexo:
specifier: ^6.3.0 specifier: 7.0.0
version: 6.3.0 version: 7.0.0
hexo-algoliasearch-next: hexo-algoliasearch-next:
specifier: 1.0.2 specifier: 1.0.2
version: 1.0.2 version: 1.0.2
@ -36,8 +36,8 @@ dependencies:
specifier: ^3.0.0 specifier: ^3.0.0
version: 3.0.0 version: 3.0.0
hexo-theme-cosy: hexo-theme-cosy:
specifier: ^1.4.4 specifier: ^2.0.0
version: 1.4.4 version: 2.0.0
hexo-theme-landscape: hexo-theme-landscape:
specifier: ^1.0.0 specifier: ^1.0.0
version: 1.0.0 version: 1.0.0
@ -147,10 +147,6 @@ packages:
resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==}
dev: false dev: false
/abbrev@1.1.1:
resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
dev: false
/abbrev@2.0.0: /abbrev@2.0.0:
resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
@ -507,6 +503,14 @@ packages:
entities: 2.2.0 entities: 2.2.0
dev: false dev: false
/dom-serializer@2.0.0:
resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
dependencies:
domelementtype: 2.3.0
domhandler: 5.0.3
entities: 4.5.0
dev: false
/domelementtype@2.3.0: /domelementtype@2.3.0:
resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
dev: false dev: false
@ -525,6 +529,13 @@ packages:
domelementtype: 2.3.0 domelementtype: 2.3.0
dev: false dev: false
/domhandler@5.0.3:
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
engines: {node: '>= 4'}
dependencies:
domelementtype: 2.3.0
dev: false
/dompurify@2.4.7: /dompurify@2.4.7:
resolution: {integrity: sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ==} resolution: {integrity: sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ==}
dev: false dev: false
@ -537,6 +548,14 @@ packages:
domhandler: 4.3.1 domhandler: 4.3.1
dev: false dev: false
/domutils@3.1.0:
resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==}
dependencies:
dom-serializer: 2.0.0
domelementtype: 2.3.0
domhandler: 5.0.3
dev: false
/ee-first@1.1.1: /ee-first@1.1.1:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
dev: false dev: false
@ -720,23 +739,13 @@ packages:
tildify: 2.0.0 tildify: 2.0.0
dev: false dev: false
/hexo-front-matter@3.0.0: /hexo-front-matter@4.2.1:
resolution: {integrity: sha512-hSQTPUmB/BCe1BFYmXRkPyLk8rqbBqHCQq+rjwwOJuEfOADrFaVK2VPZb90tJzPyXE1xSxpgCxE/AZq0CyTVwg==} resolution: {integrity: sha512-sJJI0GNmejYiwBvgnGRKn5V3sbODB4dNPr8jyw2Qp0PRHr4Uuyv8iyxw6WfK3+T7yvzYvJOh+tZ7jnwr2BYARA==}
engines: {node: '>=12.13.0'} engines: {node: '>=14'}
dependencies: dependencies:
js-yaml: 4.1.0 js-yaml: 4.1.0
dev: false dev: false
/hexo-fs@3.1.0:
resolution: {integrity: sha512-SfoDH7zlU9Iop+bAfEONXezbNIkpVX1QqjNCBYpapilZR+xVOCfTEdlNixanrKBbLGPb2fXqrdDBFgrKuiVGQQ==}
engines: {node: '>=10.13.0'}
dependencies:
bluebird: 3.7.2
chokidar: 3.5.3
graceful-fs: 4.2.11
hexo-util: 2.7.0
dev: false
/hexo-fs@4.1.1: /hexo-fs@4.1.1:
resolution: {integrity: sha512-aDysNTyv8ElcerbFVbPLRXnYt+QDY6gAOZZ5DLbCxudY0Ywppqd+uZ03gZ2BDypIBvmNB27WYWYz76M+Yv/YXw==} resolution: {integrity: sha512-aDysNTyv8ElcerbFVbPLRXnYt+QDY6gAOZZ5DLbCxudY0Ywppqd+uZ03gZ2BDypIBvmNB27WYWYz76M+Yv/YXw==}
engines: {node: '>=14'} engines: {node: '>=14'}
@ -775,20 +784,13 @@ packages:
hexo-pagination: 3.0.0 hexo-pagination: 3.0.0
dev: false dev: false
/hexo-i18n@1.0.0: /hexo-i18n@2.0.0:
resolution: {integrity: sha512-yw90JHr7ybUHN/QOkpHmlWJj1luVk5/v8CUU5NRA0n4TFp6av8NT7ujZ10GDawgnQEdMHnN5PUfAbNIVGR6axg==} resolution: {integrity: sha512-dkUXecEtChaQMdTHN4WR13c8GwKqjbSOZPJS9qDqV6Ebnb77Wa/nQzWFckhP0dCps3a9lUQBd8hYGOMbOosiQQ==}
engines: {node: '>=8.6.0'} engines: {node: '>=14'}
dependencies: dependencies:
sprintf-js: 1.1.3 sprintf-js: 1.1.3
dev: false dev: false
/hexo-log@3.2.0:
resolution: {integrity: sha512-fk7jOW3hvKiAv4Q/d8UxaQlARwcv+5KjGcnxexUrqBqyWbMCLmw7jhMHTSRLNNQpaoTlF5ff+kQkPi4yhp9iag==}
engines: {node: '>=12.4.0'}
dependencies:
picocolors: 1.0.0
dev: false
/hexo-log@4.1.0: /hexo-log@4.1.0:
resolution: {integrity: sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==} resolution: {integrity: sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==}
engines: {node: '>=14'} engines: {node: '>=14'}
@ -849,8 +851,8 @@ packages:
- supports-color - supports-color
dev: false dev: false
/hexo-theme-cosy@1.4.4: /hexo-theme-cosy@2.0.0:
resolution: {integrity: sha512-gj/fykq8O+X4UNYCv34zV7iH+OvHUuUoso+Y6mirbgXsvsGV7ewrndL2FxTXbHq54was3VAuJEM3mLBSqbWpig==} resolution: {integrity: sha512-j7qVJDpja9tbO75izRP0yAIarqJPg0lOIoVvOofFZKH94myAszFTanmkDhVDRrDbX7cgu9g/mEKid54T2AvQsQ==}
dev: false dev: false
/hexo-theme-landscape@1.0.0: /hexo-theme-landscape@1.0.0:
@ -871,20 +873,34 @@ packages:
strip-indent: 3.0.0 strip-indent: 3.0.0
dev: false dev: false
/hexo@6.3.0: /hexo-util@3.1.0:
resolution: {integrity: sha512-4Jq+rWd8sYvR1YdIQyndN/9WboQ/Mqm6eax8CjrjO+ePFm2oMVafSOx9WEyJ42wcLOHjfyMfnlQhnUuNmJIpPg==} resolution: {integrity: sha512-LmztAhkJHQ59VHqz6AnvwEKiNA0pCBBI0qW08cCzjhnpGoqZ8tlGDwElzy7oTxCvMChkiqg5V8VflhdI8tHsGg==}
engines: {node: '>=12.13.0'} engines: {node: '>=14'}
requiresBuild: true
dependencies:
camel-case: 4.1.2
cross-spawn: 7.0.3
deepmerge: 4.3.1
highlight.js: 11.9.0
htmlparser2: 9.0.0
prismjs: 1.29.0
strip-indent: 3.0.0
dev: false
/hexo@7.0.0:
resolution: {integrity: sha512-3iRSYReDcYd+bdCrDYS53aFjR717M+eSwKVXdM1tF2QETi8urcwDdDDoD7Nm2E0trqN4oeoHJ7FoXbn2UsZxqw==}
engines: {node: '>=14'}
hasBin: true hasBin: true
dependencies: dependencies:
abbrev: 1.1.1 abbrev: 2.0.0
archy: 1.0.0 archy: 1.0.0
bluebird: 3.7.2 bluebird: 3.7.2
hexo-cli: 4.3.1 hexo-cli: 4.3.1
hexo-front-matter: 3.0.0 hexo-front-matter: 4.2.1
hexo-fs: 3.1.0 hexo-fs: 4.1.1
hexo-i18n: 1.0.0 hexo-i18n: 2.0.0
hexo-log: 3.2.0 hexo-log: 4.1.0
hexo-util: 2.7.0 hexo-util: 3.1.0
js-yaml: 4.1.0 js-yaml: 4.1.0
js-yaml-js-types: 1.0.1(js-yaml@4.1.0) js-yaml-js-types: 1.0.1(js-yaml@4.1.0)
micromatch: 4.0.5 micromatch: 4.0.5
@ -899,7 +915,7 @@ packages:
text-table: 0.2.0 text-table: 0.2.0
tildify: 2.0.0 tildify: 2.0.0
titlecase: 1.1.3 titlecase: 1.1.3
warehouse: 4.0.2 warehouse: 5.0.0
transitivePeerDependencies: transitivePeerDependencies:
- chokidar - chokidar
dev: false dev: false
@ -925,6 +941,15 @@ packages:
entities: 3.0.1 entities: 3.0.1
dev: false dev: false
/htmlparser2@9.0.0:
resolution: {integrity: sha512-uxbSI98wmFT/G4P2zXx4OVx04qWUmyFPrD2/CNepa2Zo3GPNaCaaxElDgwUrwYWkK1nr9fft0Ya8dws8coDLLQ==}
dependencies:
domelementtype: 2.3.0
domhandler: 5.0.3
domutils: 3.1.0
entities: 4.5.0
dev: false
/http-errors@2.0.0: /http-errors@2.0.0:
resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}
engines: {node: '>= 0.8'} engines: {node: '>= 0.8'}
@ -1645,14 +1670,14 @@ packages:
xml-name-validator: 4.0.0 xml-name-validator: 4.0.0
dev: false dev: false
/warehouse@4.0.2: /warehouse@5.0.0:
resolution: {integrity: sha512-GixS7SolBGu81rnxYM6bScxdElLM97Jx/kr0a6B6PGBWFqvHeuWFj7QbgEX1YWZSxiJt/aR6dBVQKC/PvvihdQ==} resolution: {integrity: sha512-3NDCqIF1r83ermIM6QffsJPn9sYoNN/aohb87edraeE2NF57yjSd651f+G7tqOgg4SZuD2DgGmwekc8fTIdi2g==}
engines: {node: '>=10.13.0'} engines: {node: '>=14'}
dependencies: dependencies:
bluebird: 3.7.2 bluebird: 3.7.2
cuid: 2.1.8 cuid: 2.1.8
graceful-fs: 4.2.11 graceful-fs: 4.2.11
hexo-log: 3.2.0 hexo-log: 4.1.0
is-plain-object: 5.0.0 is-plain-object: 5.0.0
jsonparse: 1.3.1 jsonparse: 1.3.1
rfdc: 1.3.0 rfdc: 1.3.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB