allow base template directories to be stripped from template names