Create a theme config file
In this page, the
theme configuration files refer to _config.redefine.yml or /themes/redefine/_config.yml or /node_modules/hexo-theme-redefine/_config.yml in the Hexo root directory
The site configuration file refers to _config.yml in the Hexo root directory
For a smooth upgrade in the future, please create _config.redefine.yml in the Hexo root directory and put [the code here](https://github.com/EvanNotFound/hexo-theme-redefine/blob/ main/_config.yml) are all copied in and saved. If you want to change the theme settings in the future, you can change them in _config.redefine.yml.
Note the following:
_config.redefine.ymlwill always override the_config.ymlsettings in the theme rootAfter the theme is updated, be sure to compare
/node_modules/hexo-theme-redefine/_config.ymlwith thetheme configuration file (_config.redefine.yml). If the file has changed, you must synchronize the changed items in_config.redefine.yml. VS Code's file comparison may be helpful for your migration.Please do not delete any items in
_config.yml, otherwise_config.redefine.ymlwill not take effect
The directories on the left side of this tutorial correspond to the options in _config.redefine.yml in order, please follow them step by step
Last updated