主要参考hexo不生成categories和tags的index页方法(BY-NC-SA),手动创建categoriestags两个pages,NexT主题会自动生成相应的index.html

$ hexo new page categories
INFO  Validating config
INFO  Created: source\categories\index.md
$ hexo new page tags
INFO  Validating config
INFO  Created: source\tags\index.md
└── source
    ├── _posts
    ├── categories
    |   └── index.md
    └── tags
        └── index.md

source/categories/index.md

---
title: 分类
type: categories
date: 
---

source/tags/index.md

---
title: 标签
type: tags
date: 
---