解决hexo categories和tags页面不显示的问题
hexo是默认没有 categories 和 tags所以就需要自己配置
1.在hexo目录命令输入:
hexo new page "tags"
hexo new page "categories"
在\source
目录就会出现categories
和tags
两个文件夹
最后再分别去编辑这两个文件夹里的index.md
文件
type: "tags"
layout: "tags"
type: "categories"
layout: "categories"
最后在记得在自己写文章的md文件带上就行了
像这样:
FROM:浅浅淡淡[hellohy]
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论