Remove leading slash in template url