Open json2d opened 7 years ago
Do you mean that you'd like to be able to change the theme (as specified in _config.yaml) from hexo-admin? We don't currently have any code that modifies _config.yaml, and I'm not sure how I would go about telling the main hexo process to start using a new theme... I'm afraid it won't be straightforward to implement
@jaredly thanks for the info. You're right, we could've used hexo.call('set-theme')
, if only this command existed in the hexo
core.
It would be great to be able to quickly swap between themes you have installed in your hexo instance. I think i would add a lot of value for users.
Would this be pretty straight forward to implement with your current framework?
Where in the source would be a good place to start?