adding links to template