The header’s socials generates social links.
| Module | github.com/hbstack/header/modules/socials | 
|---|---|
| Repository | ⭐ Please consider giving a star if your like it. | 
| Stars | |
| Version | |
| Used by | |
| Requirements | |
| License | |
| Usage | See how to use modules. | 
| Parameter | Type | Default | Description | 
|---|---|---|---|
socials | object | - | Mapping from social media to their identifiers. | 
hugo.toml
1[params]
2  [params.hb]
3    [params.hb.header]
4      [params.hb.header.socials]
5        github = 'hbstack'
6        gmail = 'mailto:user@example.com'
7        twitter = 'razonyang'
hugo.yaml
1params:
2  hb:
3    header:
4      socials:
5        github: hbstack
6        gmail: mailto:user@example.com
7        twitter: razonyang
hugo.json
 1{
 2   "params": {
 3      "hb": {
 4         "header": {
 5            "socials": {
 6               "github": "hbstack",
 7               "gmail": "mailto:user@example.com",
 8               "twitter": "razonyang"
 9            }
10         }
11      }
12   }
13}