Although themes are managed by NPM, they can be easily configured, and hexo supports overridden configurations in themes through the key
For example, to add a website icon:
If your hexo version is greater than 5.0, you can also configure it in
config.<theme>.yml, which is equivalent to
For the complete configuration, go to the theme repository to view it
This is the function of hexo-extend-injector2 plugin. Cake theme provides these injection points (headBegin, headEnd (head), bodyBegin, bodyEnd, header, footer, postBodyEnd, menu, postMeta, sidebar, variable, style), how to use see plugin warehouse
This part is the function of hexo, which is supported in most themes (you need to replace include with partial, and Cake can be replaced except for the root of layout).
You can also simplify this part of the work with hexo-theme-plus