Add media type class to sublink