Skip to Content
GuidesSet Up Tags & Categories Page

Set Up Tags and Categories Page

Tags and categories features are enabled by default. But only part of them are available out-of-box. Tags and categories page cannot be generated without performing the following steps:

Add two new pages

npm exec hexo new page 'tags' npm exec hexo new page 'categories'

Replace the page content

You should edit two new files at source/tags/index.md and source/categories/index.md. Replace all of their content with the following:

source/tags/index.md
--- type: tags ---
source/categories/index.md
--- type: categories ---
Last updated on