Only add the header class if the post had a featured image.