Changed template.html to be link compliant