使用hexo安装博客
初始化
1 | hexo init blog |
修改中文语言
1 | 修改 _config.yml |
安装主题
1 | git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus |
部署,使用username.github.io进行访问
1 | 1. 安装deploy插件 |
自定义域名
1 | 1. 域名解析,添加一条CNAME记录, 值埴上<username>.github.io |
最后一步
1 | source目录下新建CNAME的文件,内容填上你的自定义域名(xxxx.yyy),重新推送一次 |
添加分类 2021-08-24
1 | 1. hexo new page categories |