mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Drop Hexo 4
This commit is contained in:
parent
ffac314100
commit
817ef092ac
@ -14,7 +14,7 @@
|
||||
> «NexT» is a high quality elegant [Hexo](https://hexo.io) theme. It is crafted from scratch with love.
|
||||
|
||||
[](https://www.npmjs.com/package/hexo-theme-next)
|
||||
[](https://hexo.io)
|
||||
[](https://hexo.io)
|
||||
[](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
|
||||
[](https://lgtm.com/projects/g/next-theme/hexo-theme-next/)
|
||||
[](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
> «NexT» — элегантная высококачественная тема под [Hexo](https://hexo.io). Сделана с нуля, с любовью.
|
||||
|
||||
[](https://www.npmjs.com/package/hexo-theme-next)
|
||||
[](https://hexo.io)
|
||||
[](https://hexo.io)
|
||||
[](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
|
||||
[](https://lgtm.com/projects/g/next-theme/hexo-theme-next/)
|
||||
[](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
> «NexT» 是一款风格优雅的高质量 [Hexo](https://hexo.io) 主题,自点点滴滴中用爱雕琢而成。
|
||||
|
||||
[](https://www.npmjs.com/package/hexo-theme-next)
|
||||
[](https://hexo.io)
|
||||
[](https://hexo.io)
|
||||
[](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
|
||||
[](https://lgtm.com/projects/g/next-theme/hexo-theme-next/)
|
||||
[](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
|
||||
@ -59,7 +59,7 @@ theme: next
|
||||
|
||||
不推荐直接修改 NexT 主题的文件。因为这可能导致错误(例如 git merge 冲突),并且在升级主题时修改的文件可能丢失。
|
||||
|
||||
然而你也可以通过提交(`Commit`)、贮藏(`Stash`)或忽视(`Discard`)本地更改以绕过这种更新错误 (例如 **«Commit your changes or stash them before you can merge»**)。具体方法请参考[这里](https://stackoverflow.com/a/15745424/5861495)。
|
||||
然而你也可以通过提交(`Commit`)、贮藏(`Stash`)或忽视(`Discard`)本地更改以绕过这种更新错误(例如 **«Commit your changes or stash them before you can merge»**)。具体方法请参考[这里](https://stackoverflow.com/a/15745424/5861495)。
|
||||
|
||||
## 插件
|
||||
|
||||
|
||||
@ -8,10 +8,6 @@ module.exports = hexo => {
|
||||
if (data.next) {
|
||||
hexo.log.warn('`next.yml` is deprecated. Please upgrade to Hexo 5.0 and use `_config.next.yml` instead.');
|
||||
hexo.log.warn('Documentation: https://theme-next.js.org/docs/getting-started/configuration.html');
|
||||
hexo.config = merge(hexo.config, data.next);
|
||||
hexo.theme.config = merge(hexo.theme.config, data.next);
|
||||
} else if (hexo.config.theme_config) {
|
||||
hexo.theme.config = merge(hexo.theme.config, hexo.config.theme_config);
|
||||
}
|
||||
|
||||
const { cache, language_switcher, leancloud_visitors, valine } = hexo.theme.config;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user