第一次写博客就写我怎么第一次写博客吧︿( ̄︶ ̄)︿
安装Node
安装Git
1 | git config --global user.email "you@example.com"//绑定github帐号 |
注册Github账号
配置SSH
右键点击git bash here
1 | ssh-keygen -t rsa -C "github的注册邮箱" |
安装Hexo
1 | $ npm install hexo-cli -g #安装Hexo |
Typora
VScode
换主题
_config.yml中theme:主题名
Hexo常用操作(详细请查看官方文档)
1 | $ hexo g #生成静态网页 |
1 | $ hexo new [文件布局] "文件名" #新建文章 |