Adapt SocialBar Twig extension