Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
docs(hexo): 添加父子类别示例
Browse files Browse the repository at this point in the history
  • Loading branch information
zjZSTU committed Dec 2, 2019
1 parent 07e49bd commit b4bcea4
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/source/hexo/advanced/类别&标签.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,22 @@ categories:

前一、二种书写方式的作用一致,表示该文章分类于`Java/Servlet`下,起到了子分类的作用

第三种书写方式起到了多分类的作用,表示该文章分类于`Java``Servlet`
第三种书写方式起到了多分类的作用,表示该文章分类于`Java``Servlet`

## 示例

```
categories:
- [Java]
- Thread
- [Servlet]
```

上述包含两个大类别`Java``Servlet`,其中`Thread``Java`的子类别。上述语句等同于

```
categories:
- - Servlet
- - Java
- Thread
```

0 comments on commit b4bcea4

Please sign in to comment.