Remove leading slash only in the template.