一. Hexo设置1.安装Hexonpm install -g hexo-cli我们还需要安装插件npm install hexo-renderer-stylus --save
2.创建Hexo项目在Powershell或Cmd中执行以下命令
123hexo init blog cd blog npm install
3.使用主题(非必选)安装主题在Powershell或Cmd中执行git clone https://github.com/anzhiyu-blog/hexo-theme-anzhiyu.git themes/anzhiyu
配置主题blog/_config.yml替换theme:后面的为anzhiyu
4.设置Hexo看到最前面的四行吗,把他们替换成下面的内容
1234title: Your Blog Nameauthor: Your Namelanguage: zh-CNtimezone: Asia/Shanghai
再更改最后一行为
1234deploy: type: git repo: https://github.com/your- ...
