Turn badges into links