add identity links to the template