This module shows the taxonomies on the blog’s sidebar.
Module | github.com/hbstack/blog/modules/sidebar/taxonomies |
---|---|
Repository | ⭐ Please consider giving a star if your like it. |
Stars | |
Version | |
Used by | |
Requirements | |
License | |
Usage | See how to use modules. |
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
count | boolean | true | Whether to show the number of posts associated to the item. | |
limit | number | 10 | The maximum number of taxonomy items. |
hugo.toml
1[params]
2 [params.hb]
3 [params.hb.blog]
4 [params.hb.blog.sidebar]
5 [params.hb.blog.sidebar.taxonomies]
6 count = true
7 limit = 10
hugo.yaml
1params:
2 hb:
3 blog:
4 sidebar:
5 taxonomies:
6 count: true
7 limit: 10
hugo.json
1{
2 "params": {
3 "hb": {
4 "blog": {
5 "sidebar": {
6 "taxonomies": {
7 "count": true,
8 "limit": 10
9 }
10 }
11 }
12 }
13 }
14}