Remove html extension from template lister.