Hugo Narrow author information render at hoempage, in the sample configuration, the avatar file is placed in the ~/static/ directory. icon value uses the file name of ~/assets/icons/ directory.
1author:
2 name: "Hugo Narrow"
3 title: "A Clean and Minimal Hugo Theme"
4 description: "Focused on content and user experience."
5 avatar: "/images/avatar.svg"
6 social:
7 - name: "GitHub"
8 url: "https://github.com/username"
9 icon: "github"
10 - name: "Twitter"
11 url: "https://twitter.com/username"
12 icon: "twitter"
13 - name: "Email"
14 url: "mailto:hello@example.com"
15 icon: "email"Multilingual
If your site supports multiple languages, set parameters in the front matter of the index file ~/content/_index.md and the translation file ~/content/_index.zh-cn.md of the home page bundle. Page configurations are prioritized; otherwise, configurations from the site configuration file params.yaml will be used.
1author:
2 name: "Hugo Narrow"
3 title: "A Clean and Minimal Hugo Theme"
4 description: "Focused on content and user experience."
5 avatar: "/images/avatar.svg"
6 social:
7 - name: "GitHub"
8 url: "https://github.com/username"
9 icon: "github"
10 - name: "Twitter"
11 url: "https://twitter.com/username"
12 icon: "twitter"
13 - name: "Email"
14 url: "mailto:hello@example.com"
15 icon: "email"