halogenica / beautifulhugo

Theme for the Hugo static website generator
Other
1.14k stars 602 forks source link

How to configure social media links? #384

Closed zachriggle closed 3 years ago

zachriggle commented 3 years ago

I noticed that there appears to be some support for social media links (either for sharing or to link to our account, it's not clear) as shown by the items in themes/beautifulhugo/data/beautifulhugo/social.toml.

How do I configure the social icons from my config.yaml? It seems that something like this should work, but I haven't figured out the exact way of setting these values so they show up in the footer.

params:
  social_icons:
    github: Gallopsled/pwntools
zachriggle commented 3 years ago

Figured it out, it goes under the top-level author field, e.g.

author: 
  name: "Team Gallopsled"
  website: "https://github.com/Gallopsled"
  github: Gallopsled/pwntools
  twitter: Pwntools