博客側邊欄分類模塊

本頁內容

該模塊於博客側邊欄顯示分類列表。

Modulegithub.com/hbstack/blog/modules/sidebar/taxonomies
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

站點參數

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}