添加分类
新建一个分类页面
$ hexo new page categoriessource文件夹下有了categories/index.md,可以编辑,新增type属性categoriestitle: categories date: 2019-05-12 11:41:32 type: categories打开next主题下的
_config.yml,找到menu,将categories: /categories/ || th注释去掉,没有的话添加写文章时归入分类,只需在文章顶部标题部分加上
categories即可自动创建分类名并将文章归入分类中title: hexo next添加分类 categories: hexo
添加标签
新建一个标签页面
$ hexo new page tagssource文件夹下有了tags/index.md,可以编辑,新增type属性tagstitle: tags date: 2019-05-12 11:57:08 type: tags打开next主题下的
_config.yml,找到menu,将tags: /tags/ || tags注释去掉,没有的话添加写文章时归入分类,只需在文章顶部标题部分加上
tags即可自动创建分类名并将文章归入分类中title: hexo next添加标签 tags: - hexo - next
以上~