HB 博客側邊欄簡介模塊

通過標題、描述、位置、社交連接等較少你自己或你的公司。

贊助

成為我們的資助者或贊助商,以支持我們的工作。

本頁內容

贊助商
Modulegithub.com/hbstack/blog/modules/sidebar/profile
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.profile]
 6          avatar = '/images/logo.png'
 7          avatar_size = 100
 8          company = 'Company'
 9          description = 'Description or bio.'
10          location = 'Earth'
11          title = 'Name'
12          [params.hb.blog.sidebar.profile.socials]
13            github = 'hbstack'

hugo.yaml

 1params:
 2  hb:
 3    blog:
 4      sidebar:
 5        profile:
 6          avatar: /images/logo.png
 7          avatar_size: 100
 8          company: Company
 9          description: Description or bio.
10          location: Earth
11          socials:
12            github: hbstack
13          title: Name

hugo.json

 1{
 2   "params": {
 3      "hb": {
 4         "blog": {
 5            "sidebar": {
 6               "profile": {
 7                  "avatar": "/images/logo.png",
 8                  "avatar_size": 100,
 9                  "company": "Company",
10                  "description": "Description or bio.",
11                  "location": "Earth",
12                  "socials": {
13                     "github": "hbstack"
14                  },
15                  "title": "Name"
16               }
17            }
18         }
19      }
20   }
21}
razonyang
2024年10月9日 星期三 2023年10月8日 星期日