fix links to template details