Create theme configuration file
To achieve smooth upgrades in the future, please create _config.redefine.yml
in the root directory of Hexo and copy the code here into it and save. From now on, to change the theme settings, modify _config.redefine.yml
.
Warning
_config.redefine.yml
will always override the settings in_config.yml
in the root directory of the theme- After the theme is updated, be sure to compare
/node_modules/hexo-theme-redefine/_config.yml
andtheme configuration file (_config.redefine.yml)
. If there are changes to the file, you must synchronize the modified items in_config.redefine.yml
. The file comparison in VS Code may be helpful for you in migrating. - Do not delete any items in
_config.yml
, otherwise_config.redefine.yml
will not take effect
The left side menu in this tutorial corresponds to the options in _config.redefine.yml
in order, please proceed step by step.