Hexo 的主题系统非常灵活,可以快速改变博客外观。
安装主题
例如安装 NexT:
1 | git clone https://github.com/next-theme/hexo-theme-next themes/next |
修改 _config.yml:
1 | theme: next |
修改菜单
在主题配置文件中修改:
1 | menu: |
修改头像
将头像放入:
1 | source/images/avatar.png |
配置:
1 | avatar: /images/avatar.png |
自定义样式
可以修改:
1 | themes/next/source/css |
来自定义颜色与字体。