依赖
1 | git --version |
安装
1 | npm install hexo-cli -g && hexo init blog && cd blog && npm un hexo-theme-landscape && npm i hexo-theme-next |
苹果系统sudo npm install hexo-cli -g
更换默认主题
_config.yml
找到theme: landscape
换成theme: next
预览
1 | hexo cl && hexo s |
主题配置
1 | curl -o _config.butterfly.yml https://cdn.jsdelivr.net/gh/next-theme/hexo-theme-next/_config.yml |
参考
https://github.com/next-theme/hexo-theme-next/blob/master/_config.yml
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Ln's Blog!
评论