wrote function to make author links show the linked role name instead and put this into the templates