hexo的Next创建tags

xiaoxiao2021-02-28  106

欢迎访问我的个人博客网站:http://www.yanmin99.com/

hexo的Next创建tags

一、tags 创建步骤

1、新建一个页面,命名为tags。命令如下: hexo new page "tags"

在myBlog/source下会新生成一个新的文件夹tags ,在该文件夹下会有一个index.md文件

2、编辑tags文件夹下的index.md --- title: tags date: 2017-07-10 16:36:26 type: "tags" --- 3、在菜单中添加链接。编辑主题的 themes/next/_config.yml ,添加tags到menu中,如下: menu: home: / archives: /archives/ categories: /categories/ tags: /tags/
转载请注明原文地址: https://www.6miu.com/read-47144.html

最新回复(0)