Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问个问题 #79

Open
zhuyingshenshen opened this issue Jan 6, 2025 · 4 comments
Open

问个问题 #79

zhuyingshenshen opened this issue Jan 6, 2025 · 4 comments

Comments

@zhuyingshenshen
Copy link

npm install hexo-theme-reimu@1
我每次用这个更新主题之后,原本我改的内置文件都会还原怎么办。(比如说我加的评论区功能和赞赏功能啥的都会消失,都要重新弄)

@D-Sketon
Copy link
Owner

D-Sketon commented Jan 6, 2025

不要直接改主题内的_config.yml,参考 https://github.com/D-Sketon/reimu-template 在_config.reimu.yml里覆盖默认的配置

@zhuyingshenshen
Copy link
Author

外部没有_config.reimu.yml这个文件,直接新建一个就可以覆盖了吗

@zhuyingshenshen
Copy link
Author

不要直接改主题内的_config.yml,参考 https://github.com/D-Sketon/reimu-template 在_config.reimu.yml里覆盖默认的配置

我刚试了一下外部新建了一个_config.reimu.yml然后在里面修改东西没用

@D-Sketon
Copy link
Owner

D-Sketon commented Jan 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants