Hexo Next Theme - Tags and Categories

If you are using Next Theme for the Hexo blog, and just uncomment the tags and categories lines in _config.yml,
it will generate the tags and categories pages based on tags/categories.
But it will not create the index page itself (which show you all tags/categories pages).
You can easily fix that, by creating “tags” page with:

1
hexo new page tags

And adding type: “tags” to the header of the page.
Additionally you can also disable the comments for this page with comments: false. Example:

1
2
3
4
5
6
---
title: Tags
date: 2018-05-02 00:22:51
type: "tags"
comments: false
---

And the same for categories:

1
hexo new page categories
1
2
3
4
5
6
---
title: Categories
date: 2018-05-02 00:22:51
type: "categories"
comments: false
---