用hexo搭建你的blog
refenrence:
build bog:https://www.jianshu.com/p/ef3f221a0374
change theme:https://www.jianshu.com/p/869c6bcd0647
关联域名:https://zhuanlan.zhihu.com/p/22183337
我的blog
之前一直忘记放自己的blog地址了,其实会跟csdn同步更新:
Phoebe’s blog
我用的是archer主题,如果想看看这个主题的搭建效果的,欢迎来我的blog参观!
给blog加分类和标签
refenrence:
https://blog.csdn.net/smileyan9/article/details/86666602
我的总结如下:
其实本来我用的archer主题就是带有tag和category的页面的,如下图:
所以就很好办了,如果在自己的主题里没有看到有自带这个,可以检查自己的_config.yml文件
中相关项的值有没有设为true,如下图:
检查好了之后,自己的每篇要push上去的文章在开头都加上你想要的加的tags和categories,如下图:
再直接按照命令更新上去就可以啦。
常用的command命令
push:hexo d -g
run at localhost:hexo s(有时候远程不能很快就更新,可以先在本地运行,就能看见远程的更新了)
create new blog:hexo new “file name”
refenrence:https://blog.csdn.net/weixin_34239592/article/details/91448749