Remove share function and build links href in permalinkpanel.html