render links in the right colors