创建主题配置文件
最后更新于
最后更新于
本页面中
主题配置文件
均指 Hexo 根目录下的 _config.redefine.yml
或者 /themes/redefine/_config.yml
或者 /node_modules/hexo-theme-redefine/_config.yml
站点配置文件
均指 Hexo 根目录下的 _config.yml
为了日后实现平滑升级,请在 Hexo 根目录中创建 _config.redefine.yml
并将全部复制进去保存,以后要更改主题设置就在 _config.redefine.yml
里面更改。
_config.redefine.yml
永远都会覆盖主题根目录的 _config.yml
设置
主题更新后,请务必把 /node_modules/hexo-theme-redefine/_config.yml
和 主题配置文件 (_config.redefine.yml)
进行比对。如果文件出现了更改,那你必须要把更改过的项同步在 _config.redefine.yml
中。VS Code 的可能对你迁移有帮助。
请不要删除 _config.yml
中的任何项,否则 _config.redefine.yml
不会生效
本教程左侧目录按照顺序对应 _config.redefine.yml
中的选项,请一步一步来