Adding links to template