Skip to content

Commit

Permalink
feat(helper/tagcloud): show_count option (hexojs/hexo#5047, hexojs/he…
Browse files Browse the repository at this point in the history
  • Loading branch information
renbaoshuo committed Sep 9, 2022
1 parent da2863b commit 5595684
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@ Option | Description | Default
`end_color` | End color. You can use hex (`#b700ff`), rgba (`rgba(183, 0, 255, 1)`), hsla (`hsla(283, 100%, 50%, 1)`) or [color keywords]. This option only works when `color` is true. |
`class` | Class name prefix of tags
`level` | The number of different class names. This option only works when `class` is set. | 10
`show_count` | Display the number of posts for each tag | false
`count_class` | Class name of tag count | count

**Examples:**

Expand Down
2 changes: 2 additions & 0 deletions source/zh-cn/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ Examples:
`end_color` | 结束的颜色。您可使用十六进位值(`#b700ff`),rgba(`rgba(183, 0, 255, 1)`),hsla(`hsla(283, 100%, 50%, 1)`)或 [颜色关键字]。此变量仅在 `color` 参数开启时才有用。 |
`class` | 标签的 class name 前缀
`level` | 不同 class name 的总数。此变量仅在 `class` 参数设定时才有用。 | 10
`show_count` | 显示每个标签的文章总数 | false
`count_class` | 标签文章总数的 class | `count`

## 其他

Expand Down

0 comments on commit 5595684

Please sign in to comment.