add type as class to teaser for later styling