adding link to template