hugo-theme-bootstrap4-blog icon indicating copy to clipboard operation
hugo-theme-bootstrap4-blog copied to clipboard

Allow optional addition of social links to sidebar

Open alanorth opened this issue 7 years ago • 2 comments

It would be pretty compatible with blog conventions to have your Twitter, Google+, Facebook, etc links on the sidebar. It should be optional and ideally use the existing config options where possible (like params.social.twitter, which is already used by Twitter cards).

This could perhaps be enumerated like a menu, or like the social sharing links, and we could show Font Awesome icons for each link.

alanorth avatar Nov 27 '16 11:11 alanorth

Here is a theme that uses SVG Paths for the Social sharing link images, so no Font Awesome is even necessary: https://themes.gohugo.io/theme/hugo-alageek-theme/ he does not have facebook, pinterest, or instagram, but he does have pretty much all the other ones. Maybe not too difficult to create SVG paths for any remaining social networks.

Jieiku avatar Jan 24 '20 10:01 Jieiku

I'm not very worried about including Font Awesome. We don't even load all of it (see: source/scss/font-awesome.scss), and I only import about half of Bootstrap as well. If anything I would think about moving to Font Awesome 5 and then adding some sort of configuration mentioned in the issue to allow putting social icons in the sidebar.

alanorth avatar Jan 25 '20 14:01 alanorth