Utilize Hugo config for social media and footer links
We currently hardcode social media and footer links via partials. We must override this partial to modify the footer and social media links.
I propose we use the config instead. This will offer more flexibility to the sites consuming the Hugo Solstice Theme.
Footer
For the footer, we can use menus.
e.g.
[[menu.footer]]
name = "About"
url = "https://www.eclipse.org/org/"
weight = 1
parent = "eclipse-foundation"
Social Media
We can use the existing social media parameters defined in our config for social media.toml files.
[Author]
name = "Christopher Guindon"
website = "https://www.eclipse.org"
email = "webdev@eclipse-foundation.org"
facebook = "eclipse.org"
twitter = "eclipsefdn"
youtube = "EclipseFdn"
googleplus = "+Eclipse"
linkedin = "company/eclipse-foundation/"
OR
We can use the TOML equivalent to the following JSON:
[
{ "name": "Facebook", "icon_class": "fa fa-facebook", "url": "https://facebook.com/eclipse.org" },
{ "name": "Mastodon", "icon_image": "/public/images/mastodon.svg", "url": "https://mastodon.social/@EclipseFdn" }
]
This would allow us to change the icon or add a custom social media site (e.g. some WG's Matrix link or Slack workspace).
WDYT @cguindon