template: appears three times in your configuration.yaml file. It should only be there once.
template: