Use a partial to reuse the share this functionality

To follow up on this comment: https://github.com/jboss-developer/www.jboss.org/pull/67/files#r11534911