hexo中tags与categories的使用方法

日之朝矣

tags

单个标签

1
tags: hexo

一篇文章可以有多个标签

1
2
3
4
5
tags: [hexo, html]
# 或者
tags:
- hexo
- html

categories

将文章归类到 hexo 分类下

1
categories: hexo

将文章归类到 hexo/deploy 分类下

1
2
3
4
5
categories:
- hexo
- deploy
# 或者
categories: [hexo, deploy]

将文章归类到 hexo、deploy、前端/html 这三个分类下

1
2
3
4
categories: 
- [hexo]
- [deploy]
- [前端,html]
  • 标题: hexo中tags与categories的使用方法
  • 作者: 日之朝矣
  • 创建于 : 2023-01-04 18:06:02
  • 更新于 : 2023-10-10 08:35:51
  • 链接: https://rzzy.fun/2023/01/04/hexo-tags-categories/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
 评论
此页目录
hexo中tags与categories的使用方法