implement template.url tag