[#G27219] Use a theme function for rendering the social links

So sub themes can override styling of social links