欢迎访问我的个人博客网站:http://www.yanmin99.com/
1、新建一个页面,命名为tags。命令如下:
hexo
new page
"tags"
在myBlog/source下会新生成一个新的文件夹tags ,在该文件夹下会有一个index.md文件
2、编辑tags文件夹下的index.md
---
title: tags
date: 2017-07-10 16:36:26
3、在菜单中添加链接。编辑主题的 themes/next/_config.yml ,添加tags到menu中,如下:
menu:
home: /
archives: /archives/
categories: /categories/
tags: /tags/