add class syntax to links