Override hrefs in templates