开启标签和分类

发现hexo的/tags和/categories是404
百度后发现(https://segmentfault.com/q/1010000009361385)
这两个页面还要单独生成

1
2
hexo new page tags
hexo new page categories

这完了还不够。。还得修改两个md文件如下

1
2
3
4
5
6
7
8
#tags/index.md
title: 标签
date: 日期
type: "tags"
#categories/index.md
title: 分类
date: 日期
type: "categories"

大功告成